rustc: Use "main" entry point on Windows

Fixes #8510.