Changed the min/max value getting to use ComputeRasterMinMax(), since there
seems to be a problem in some GDAL operations with not updating statistics.