Fix rivet for HepMC3 master
Made a PR in rivet with the patch as well: https://gitlab.com/hepcedar/rivet/-/merge_requests/638
Edited by Andre Sailer
Made a PR in rivet with the patch as well: https://gitlab.com/hepcedar/rivet/-/merge_requests/638