build: fix version embeds
Created by: bobheadxi
Closes https://github.com/sourcegraph/sourcegraph/issues/11471
$> IMAGE=sourcegraph/server:rob VERSION=1.2.3 cmd/frontend/build.sh
$> docker run sourcegraph/frontend:rob # with print version.Version()
1.2.3