Unify wint_t handling in wchar.h and wctype.h.