cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)
NEWS issue for #22518
fix overflow checking in PyBytes_Repr (closes #22519)
these variables ought to be Py_ssize_t