Fixed #23873 -- Improved GIS error message when GEOS is not installed.

Thanks Claude for writing the patch.