Completely revert all mbstowcs-and-friends changes from r186109. They were unintentional