[FIXES JENKINS-14951] Set environment on matrix parent build

If the build is a MatrixBuild, build wrappers are not invoked for the
parent, only for the individual MatrixRuns. In order for the environment
variables to be available to the parent (e.g. for post-build steps), we
must inject the environment into the parent directly during the aggregator
startBuild().