If Turkey leaves NATO, the risks to its security are minimal - but the alliance would suffer if it quits.