os: use windows ReadConsole to read from console

Fixes issue 4760.

R=golang-dev, minux.ma, bradfitz
CC=golang-dev
https://codereview.appspot.com/7312053