Fixed crash caused by typo in GeometryCollection

Both getArea and getLength were overriding the Geometry prototype instead of the GeometryCollection prototype. This would cause exceptions for classes (e.g. LineString) relying on the base class implementation.