cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518)
add NEWS note for #22518
merge heads
fix overflow checking in PyString_Repr (closes #22519)