cmd/link: convert -I foo to -Wl,--dynamic-linker,foo when externally linking
cmd/link: convert -I foo to -Wl,--dynamic-linker,foo when externally linking

Fixes #22446

Change-Id: Id5b3fbc9cd3a7d6c4bf4e28428b8cb6d45a9ca92
Reviewed-on: https://go-review.googlesource.com/c/go/+/310349
Run-TryBot: Michael Hudson-Doyle <5e87ffb38a52af6fb9a19b679e9122c7a4d601a5@canonical.com>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Trust: Michael Knyszek <4473450dc5c88f06e1fb787f303d7805ec2aee65@google.com>
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

cloudflare/go,cloudflare/go,CAFxX/go,CAFxX/go,cloudflare/go,CAFxX/go,nawawi/go,cloudflare/go,golang/go,nawawi/go,CAFxX/go,CAFxX/go,nawawi/go,golang/go,CAFxX/go,cloudflare/go,golang/go,golang/go,nawawi/go,nawawi/go,cloudflare/go,cloudflare/go,CAFxX/go,nawawi/go,golang/go,CAFxX/go,nawawi/go,nawawi/go,golang/go,golang/go,cloudflare/go,golang/go