cmd/go: on Windows, disable cache if LocalAppData is not set
cmd/go: on Windows, disable cache if LocalAppData is not set

Fixes #23146

Change-Id: I06e3328ecca5e27f8e1ada05c2d7cd9bdda714e6
Reviewed-on: https://go-review.googlesource.com/85996
Run-TryBot: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>
Reviewed-by: Brad Fitzpatrick <ae9783c0b0efc69cd85ab025ddd17aa44cdc4aa5@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>

Cofyc/go,nawawi/go,akutz/go,CAFxX/go,CAFxX/go,golang/go,CAFxX/go,codestation/go,cloudflare/go,josharian/go,nawawi/go,akutz/go,golang/go,codestation/go,cloudflare/go,josharian/go,Cofyc/go,akutz/go,Cofyc/go,nawawi/go,golang/go,cloudflare/go,Cofyc/go,CAFxX/go,akutz/go,josharian/go,codestation/go,golang/go,akutz/go,nawawi/go,Cofyc/go,josharian/go,cloudflare/go,christopher-henderson/Go,Cofyc/go,CAFxX/go,josharian/go,akutz/go,nawawi/go,nawawi/go,codestation/go,Cofyc/go,nawawi/go,codestation/go,CAFxX/go,josharian/go,codestation/go,cloudflare/go,akutz/go,cloudflare/go,josharian/go,Cofyc/go,josharian/go,nawawi/go,codestation/go,CAFxX/go,golang/go,codestation/go,CAFxX/go,akutz/go,cloudflare/go,golang/go,golang/go,cloudflare/go,golang/go