Add missing lock in rb_ivar_defined
rb_ivar_defined
If called on a class, we should acquire the lock.
Add missing lock in
rb_ivar_defined
If called on a class, we should acquire the lock.