io/win32: move mp_attach_console to terminal-win.c

Why didn't I put it there from the start?