Fix disabling of tests in DD4hep builds
Use USE_DD4HEP
CMake variable to disable tests instead of relying on the platform string.
This is backward compatible, but required when we merge LHCb!3903 (merged).
Use USE_DD4HEP
CMake variable to disable tests instead of relying on the platform string.
This is backward compatible, but required when we merge LHCb!3903 (merged).