avoid crash if particle id is not present in HepPDT
Merge pull request #5533 from jhgoh/AvoidCrashRivetAODSIM

 Avoid crash of GenParticles2HepMCConverter