cmd/compile: fix stack growing algorithm
cmd/compile: fix stack growing algorithm

The current stack growing implementation looks not right.
Specially, the line runtime/stack.go#L1068 never gets executed,
which causes many unnecessary copystack calls.

This PR is trying to correct the implementation.
As I'm not familiar with the code, the fix is just a guess.

Change-Id: I0bea1148175fad34f74f19d455c240c94d3cb78b
GitHub-Last-Rev: 57205f91fe6f7cecbf0b7aad0d90d2f81270b1e8
GitHub-Pull-Request: golang/go#47010
Reviewed-on: https://go-review.googlesource.com/c/go/+/332229
Reviewed-by: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
Run-TryBot: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Trust: Dmitri Shuralyov <d181b7fea0ec87c86ba5a890ab716db52498e3ba@golang.org>

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