Protesters have set fire to the Iranian consulate in the Iraqi city of Najaf, the local authorities said.