[cmake] get rid of GNUInstallDirs (2)
[gdal] fix index pixel [0 .. n-1]