also handle ringless polygons with GEOS <3.3 (follows 6370153e)