Introduced a common lock in the ObjC bridge to prevent deadlock between threads locking ObjCObject.peers and ObjCClass.typeToClass. (#349)