Add slot and slot_build_id to the build environment
Those variables are needed for e.g. LHCbIntegrationTests
builds: see https://gitlab.cern.ch/lhcb/LHCbIntegrationTests/-/blob/aa358b3d39251ce23713dc470aa87abe7b45527d/cmake/GetProjectVersion.cmake#L20-21