fixed Cast.ToIntPtr method.
Removed ToClrObject and ToGoshObjPtr methods.

Use ToObj and ToIntPtr methods instead.