PostGIS input: fix regression introduced by 62d3e61 when dealing with 2D-only PostGIS 1.X geometries (#4941)
Merge branch 'master' of github.com:mapserver/mapserver