Fix Issue 12848 - crash in _d_run_main() on some Unicode command line

Replaced argc with wargc on Windows.