use longs instead of ints to store pointers in ObjectStreamClass

This allows the class to be used on 64-bit VMs.

Change-Id: Ie8dc3a7b3849c94e5cf37cf5c5e0c3231f5af26f