Fixed the PostGIS circular imports caused by 1506c71a95.

refs #12030.