consider user no data values in GDAL raster statistics and histogram, fixes partialy #3840