Update the TruthSvc to work with ShadowEvents

Merged John Derek Chapman requested to merge jchapman/athena:TruthSvcShadowEvent_23.0 into 23.0

Builds upon !63457 (merged).

This MR updates the TruthSvc to deal with the case that the GenParticle and GenVertex objects associated with decays of quasi-stable particles predefined by the generator may not be present in the output GenEvent. This is ability is switched off by default, so no change in output is expected.

Part of the changes from !63059 (merged).

Tagging @mbandier, @tlari, @averbyts, @pclark

Merge request reports