Zlatan Ibrahimovic has set a new record in his final Ligue 1 match by becoming Paris Saint-Germain's highest ever goalscorer in a single season.