[gdaltools] Proximity(raster distance) error (Fix #8115)