ISF_FastCaloSimParametrization: Fix warning in hepmc3 compilation.
When iterating over a GenEvent, one may need to declare the loop variable differently in hepmc3 to prevent warnings. In hepmc3, one loops over shared_ptr instances, but with hepmc2, we have plain pointers.
See ATLASSIM-5864.