Fix crash on tiff with GCP