rustc: Use "main" entry point on Windows

Fixes #8510.
auto merge of #8806 : klutzy/rust/winmain, r=cmr

Fixes #8510.