Qatar's foreign minister has questioned the hardline statements on Iran made at emergency summits in Mecca.