Add support for tagged pointers in object_getClass

This already makes tagged pointers work in the non-assembly lookup.