Closes #9849. This enables `hugo.GoVersion` in templates to access the version of Go that the Hugo binary was built with.