[libcextra] Extend wide char support

Filling in some holes in wchar support.