msctf/tests: Don't convert past the end of a nul terminated string.

Found by Valgrind.
1 file changed