Add tests for cgo ldflags response-file encoding for Go 1.27 (#4656)

This adds tests for the cgo argfile change for GCC compatible file
parser in 1.27+

Bonus: fixes a toolchain constraint issue for windows
9 files changed