Use CI variables in build template directly
The job generation script implicitly passes the OS environment to the template, so that the template has access to all GitLab CI variables. Hence there is no need to explicitly pass any of them as command line arguments.
This change makes the "generate-build-jobs" job more generic, so that it can be shared with the ci-test pipeline in the future.