Simplify ConsoleWidth() and implement it for real on Win32