Small UniCharToUTF8 optimizations