[FIXED JENKINS-24785] - Introduce ROOT_BUILD_CAUSE

For multi-configuration jobs the BUILD_CAUSE passed in the environment
to build scripts is always UPSTREAMTRIGGER. Introduce ROOT_BUILD_CAUSE
that expands UpstreamCause to the root causes.