Fix word offsets fetching for uniscribe and non encoded textInfo (PR #10152)
Fix basic _getWordOffsets implementation on OffsetsTextInfo. Make sure that we convert all offsets from str offsets to widestring offsets and back. Also make sure that we do not accidentally leak offsets for our uniscribe workaround into the actual returned offsets.
fixes #10151