Olivier Giroud edged closer to becoming France's all-time top goalscorer with a brace against Bulgaria.