#9777-ML: Avoid invalid polygons when QGIS is drawing labels

This PR skips invalid rings (maybe after simplification) when the GEOSGeometry is filled.
Then the label of these geometries can be rendered.