Fix compatibility issues with Geant4 11. See issue in githib: https://github.com/AIDASoft/DD4hep/issues/881