[python] Use utf-32 / utf-16 based on build of Python Fixes https://github.com/behdad/harfbuzz/pull/271