[Python-checkins] gh-114569: Use PyMem_* APIs for non-PyObjects in unicodeobject.c (#114690)