Revised astrometric calibration of the Gemini Planet Imager