IMF official flags inflation, growth risks from Middle East war