Al-Qaeda ringleader Ayman al-Zawahri has pledged freedom of inmates from the US-run Guantanamo Bay detention camp.