Fix the Rivet_i and TruthRivetTools dependencies to fjcontrib and hdf5 and an interface change due to the update to Rivet 4.1.0 as discussed in SPI-2757. This fixes the compilation problems observed in the latest dev4 nightlies.
Tagging @cgutscho and @ewelina for info.