gh-111178: fix UBSan failures in Modules/_jsonmodule.c
#129781
+27
−16
Merged