Fix case where more than 4 weak references to the same object would cause infinite loops.
Fix case where more than 4 weak references to the same object would cause infinite loops.

Patch by Thomas Davie!



ngrewe/libobjc2,crystax/android-vendor-libobjc2,davidchisnall/libobjc2,gnustep/libobjc2,ngrewe/libobjc2,crystax/android-vendor-libobjc2,darlinghq/darling-libobjc2,gnustep/libobjc2,davidchisnall/libobjc2,darlinghq/darling-libobjc2