[dev.link] cmd/link: don't write text address directly if using plugins
[dev.link] cmd/link: don't write text address directly if using plugins

When using plugins, on darwin we do weird things with
runtime.etext symbol, assigning a value for it, then clear it,
reassign a different value. This breaks the logic of writing text
address directly.

I think we should remove the weird thing with runtime.etext, if
possible. But for now, disable the optimization (this is not a
common case anyway).

Fix darwin-nocgo build.

Change-Id: Iab6a9f8519115226a5bbaaafe4a93f17042a928a
Reviewed-on: https://go-review.googlesource.com/c/go/+/229057
Run-TryBot: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>
Reviewed-by: Than McIntosh <4b2922593166fc595a9b1a408f34f5d3817fe9d2@google.com>

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