The ilammy/msvc-dev-cmd repository seems abandoned and should be considered unsafe.
This PR updates the workflow to load the MSVC environment variables directly via vcvars64.bat.
For reference, the Bitcoin Core project removed ilammy/msvc-dev-cmd in https://github.com/bitcoin/bitcoin/pull/32513.
Note for Maintainers: Once this PR is merged and other PRs are rebased on top of it, the ilammy/msvc-dev-cmd action should be removed from the "Action permission" settings in this repository.