cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)

--HG--
branch : 3.3
extra : source : b2e68274aa8ebfba676d6d40fe69ac68519e2022
NEWS issue for #22518

--HG--
branch : 3.3
extra : amend_source : 2c57943366dd265713a3ab41b9b427271eb4c7ee
fix overflow checking in PyBytes_Repr (closes #22519)

--HG--
branch : 3.3
extra : source : d9cd11eda1521790b89c210ddb1cba28cd05c9fa
extra : amend_source : 4cba45b1132194e95abe3592b2a1f0eec0de43ab
these variables ought to be Py_ssize_t

--HG--
branch : 3.3