Fix calling alternate_version_generator.exe for Windows ARM64 cross build

Create symlink for alternate_version_generator.exe on Windows has DLL load
issue for component build because the folder where the executable resides is not
in the executable search path. The change goes to the hard way and fixes the
caller side to pass in correct path for the tool with its input/output paths
adjusted. This was suggested by Nico Weber in the comments for crrev.com/c/1474438.

I tested the change locally for ARM64 Win32 components build where it was broken,
I also verified Windows x64 debug and no regression found.

Bug: 927113
Change-Id: Ie0e1c9bd0553a9b2ec1c3c125d7ca8d3d7e8401c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1502532
Commit-Queue: Tom Tan <Tom.Tan@microsoft.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#639109}
3 files changed