add --use_go_build option when building binaries

This needs to be rebased once #2092 is committed as only the top commit is relevant.

Biggest question is how to handle passing --use_go_build from test-integration.sh to hack/build-go.sh

Do people like "$@" or should I use a shell variable?