(Re)generate the build version when preparing a release

If hack/build-go.sh has never been run before release/build-release.sh
(used by provision-* scripts) the subsequent build will fail. Also, when
preparing builds the version should be forced to be up to date with the
current checkout.