gh-111178: fix UBSan failures in Objects/exceptions.c
#128154
+282
−192
Merged