Add missing console I/O functions to msvcrt.

This adds getche, getwch, getwche, putwch, ungetch, and ungetwch.