cmd/compile: fix heap dump test on android
cmd/compile: fix heap dump test on android

go_android_exec is looking for "exitcode=" to decide the result
of running a test.  The heap dump test nondeterministically prints
"finalized" right at the end of the test.  When the timing is just
right, we print "finalizedexitcode=0" and confuse go_android_exec.

This failure happens occasionally on the android builders.

Change-Id: I4f73a4db05d8f40047ecd3ef3a881a4ae3741e26
Reviewed-on: https://go-review.googlesource.com/23861
Run-TryBot: Keith Randall <8c99c3a9284e493be632950b84cd789d08ed3e9d@golang.org>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: David Crawshaw <a2f0bf29257797dd66800b4fbb9945c3e216c004@golang.org>

goodlang/good,momchil-velikov/go,nawawi/go,polyverse-security/go,codestation/go,codestation/go,akutz/go,codestation/go,nawawi/go,suncycheng/go,Cofyc/go,momchil-velikov/go,codestation/go,polyverse-security/go,golang/go,josharian/go,CAFxX/go,linux-on-ibm-z/go,vsekhar/elastic-go,polyverse-security/go,linux-on-ibm-z/go,golang/go,polyverse-security/go,Cofyc/go,derekmarcotte/go,goodlang/good,linux-on-ibm-z/go,akutz/go,linux-on-ibm-z/go,josharian/go,4ad/go,momchil-velikov/go,vsekhar/elastic-go,momchil-velikov/go,Cofyc/go,goodlang/good,momchil-velikov/go,golang/go,Cofyc/go,ImJasonH/go,goodlang/good,ImJasonH/go,derekmarcotte/go,nawawi/go,akutz/go,golang/go,vsekhar/elastic-go,golang/go,CAFxX/go,theif519/go,polyverse-security/go,theif519/go,suncycheng/go,cloudflare/go,derekmarcotte/go,josharian/go,theif519/go,CAFxX/go,linux-on-ibm-z/go,golang/go,polyverse-security/go,vsekhar/elastic-go,polyverse-security/go,akutz/go,josharian/go,goodlang/good,golang/go,cloudflare/go,CAFxX/go,Cofyc/go,goodlang/good,linux-on-ibm-z/go,ImJasonH/go,4ad/go,suncycheng/go,4ad/go,ImJasonH/go,codestation/go,suncycheng/go,momchil-velikov/go,nawawi/go,nawawi/go,josharian/go,polyverse-security/go,theif519/go,4ad/go,4ad/go,ImJasonH/go,akutz/go,theif519/go,Cofyc/go,derekmarcotte/go,ImJasonH/go,linux-on-ibm-z/go,goodlang/good,momchil-velikov/go,vsekhar/elastic-go,Cofyc/go,linux-on-ibm-z/go,suncycheng/go,cloudflare/go,cloudflare/go,suncycheng/go,akutz/go,josharian/go,goodlang/good,nawawi/go,4ad/go,4ad/go,cloudflare/go,vsekhar/elastic-go,derekmarcotte/go,josharian/go,cloudflare/go,theif519/go,golang/go,nawawi/go,suncycheng/go,ImJasonH/go,CAFxX/go,derekmarcotte/go,cloudflare/go,akutz/go,akutz/go,derekmarcotte/go,codestation/go,CAFxX/go,codestation/go,4ad/go,theif519/go,derekmarcotte/go,nawawi/go,josharian/go,cloudflare/go,christopher-henderson/Go,theif519/go,ImJasonH/go,CAFxX/go,vsekhar/elastic-go,suncycheng/go,vsekhar/elastic-go,momchil-velikov/go,Cofyc/go,CAFxX/go,codestation/go