[GEOT-4943]: Fixing ImageMosaicWalker stopping on exceptions - Backport to 12.x