cmd/compile: check order temp has correct type
cmd/compile: check order temp has correct type

Followon from CL 140306

Change-Id: Ic71033d2301105b15b60645d895a076107f44a2e
Reviewed-on: https://go-review.googlesource.com/c/142178
Run-TryBot: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Cherry Zhang <d62e63aa42ce272d7b6a5055d97e942b33a34679@google.com>

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