liblwgeom: new standalone formula (nixes circular dependency on gdal)