use version specific postgis force2d function (#4803)

also adds a PROCESSING "FORCE2D=no" to avoid using force2d altogether (#4024)