Remove unneeded #ifdef for the functions implemented in HepMC3. This requires hepmc3>=3.2.5
#ifdef
Tag @jchapman