A Jordanian militant ideologist and al-Qaeda cleric has denounced the declaration of a "caliphate" by Sunni militants in Iraq and Syria, warning against more bloodshed.