Avoided a crash on an Oracle GIS test; refs #23504.
Added a feature flag for add_srs_entry support; refs #22632 and #23504.