gh-121785: Remove unused code from codecs.py (GH-121787)

It was only needed for non-Unicode Python builds,
which aren't supported anymore.
1 file changed