Jenkinsfile: Re-use global VersionNumber for installers
Commit 3611bdcb moved the VersionNumber generation at the beginning of the pipeline so we only generate it once.
The installer merge landed at roughly the same time so it missed that.
Align the stage generating the installer images to the new approach.