Throw invalid GeoJSON error on Polygon with an empty interior

Check to see if second array is present, and empty, for GeoJSON polygon parsing.

Fixes #1917