[dev.cc] runtime: convert mem_windows.c to Go

LGTM=rsc
R=rsc
CC=golang-codereviews
https://codereview.appspot.com/175000043