[gdal] fix set_size: number of raster first