Emmanuel Macron called a comment by Brazil's president on social media "disrespectful" during a news conference at the G7.