Fixed crash caused by typo in GeometryCollection

Both getArea and getLength were modifying the Geometry prototype instead of the GeometryCollection prototype.