Attempts to update to latest OSG API.

This commit adds support the latest OSG API, where osg::Geometry has had
various things deprecated.