Turkey opposes the Assad regime, but the fall of the government could disrupt Ankara’s aims to reverse refugee flows and defeat Kurdish forces in Syria’s north.