Remove delegation from WeakRef. See #6308 in MRI's bug tracker.

* lib/weakref.rb: Modify weakref to not use delegation. See #6308.
* test/test_weakref.rb: Alter tests that use delegation.