gh-159430: Add _PyObject_LookupSpecial error checks in bytes/weakref (GH-159432) _PyObject_LookupSpecial needs a PyErr_Occurred() check to handle failures while during the lookup, or else it can fail with a "returned a result with an exception set" error. Add some missing ones in bytes and weakref/