Former Turkish Chief of General Staff released by Ankara court