Fix #9665 (in memory raster not supported in raster calculator)