cmd/internal/obj: stay consistent by defining loop variable outside loop header
cmd/internal/obj: stay consistent by defining loop variable outside loop header

Change-Id: Ieb0ae01cf393c4983e809ce95fedeaa854d19a99
GitHub-Last-Rev: 908f7565183c1cd19a3fbc47f406d53ad388fb97
GitHub-Pull-Request: golang/go#30004
Reviewed-on: https://go-review.googlesource.com/c/160428
Run-TryBot: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>

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