Former Pak spy chief warns govt against American's release