Fix setting the class for an object address

The removed check for isAllowGC allows storing a object
class to an object using `bindExternalObjectToClass`.

The errors mentioned in the removed comment are already being
tested in `testObjectArray` and are fixed elsewhere.
Merge pull request #39 from cpgf/fix-assigning-ptr-class

Fix setting the class for an object address