Added RasterSource/GDALBand GDAL objects

Based on Daniel Wiesmann's raster branch. Refs #23804.
import range from six?