In Mr. Khatami 's speech to the lawmakers , he denounced terrorism while condemning what he called " crimes of liberty , " specifically citing the U.S. Abu Ghraib prison scandal in Iraq and ongoing detentions at the U.S. naval base in Guantanamo , Cuba .