Avoided a crash on an Oracle GIS test; refs #23504.