Remove conflict template function

By fixing bug 10811, both toUTFz template functions will conflict on the call `toUTFz!(T)(str)`. Remove one to resolve ambiguity.
Merge pull request #1473 from 9rnsr/fix10811

Supplemental fix for issue 10811 - Remove conflict template function