A hack to bring back ST_GeomFromText in some cases.

We need it when doing distance queries, so we can specify a SRID.