Remove unnecessary lines in HepMC3 to load libCore.so

Merged Pere Mato Vila requested to merge SPI-2179 into master

To run the testing, add a comment with:

Bot test PACKAGE|all in TOOLCHAIN|all [(only|also) for LABEL-COMPILER-BUILDTYPE] please!

To ensure patches required for existing LCG branches are not lost, please add the respective labels: alsoTargeting:LCG_102-patches, alsoTargeting:master, etc.

Closes SPI-2179

Merge request reports