Bug #372: Prevent a crash in XPolygonRegion when called with a bogus point count. Reported by Andreas Luik.