runtime: record $GOROOT_FINAL for runtime.GOROOT

Update #1527.

R=adg, oerdnj
CC=golang-dev
https://golang.org/cl/4171060
diff --git a/src/pkg/runtime/Makefile b/src/pkg/runtime/Makefile
index 521c095..38e1aa6 100644
--- a/src/pkg/runtime/Makefile
+++ b/src/pkg/runtime/Makefile
@@ -129,7 +129,7 @@
 	quietgcc -o $@ -I "$(GOROOT)/include" $< "$(GOROOT)/lib/lib9.a"
 
 version.go: mkversion
-	./mkversion >version.go
+	GOROOT="$(GOROOT_FINAL)" ./mkversion >version.go
 
 version_$(GOARCH).go:
 	(echo 'package runtime'; echo 'const theGoarch = "$(GOARCH)"') >$@