A Spanish member of an al-Qaeda-linked militant group fighting in Syria has fled the Arab country after refusing to do suicide mission.