Fix for some problems with the CFString utf16 implementation.