Backport of GenParticles2HepMCConverter to 53X release

This is backport of most recent GenParticles2HepMCConverter, #628.