test-standalone: explicitly link to advapi32 sometimes

Now, nearly every object produced by zig has a dependency on
advapi32.dll due to the dependency on RtlGenRandom due to the
implementation of dirCreateFileAtomic which is now analyzed whether or
not it is used.
36044a0e81Andrew Kelley committed on 1/5/2026, 8:19:16 AMparent75f4171
3 files changedLine totals unavailable