clear BufferedRWPair weakrefs on deallocation (closes #22517)