HGTD_RecTools: Fix out-of-bounds array accesses.
Passing an undefined particle hypothesis to extrapolate() will result in out-of-bounds reads to the Trk::ParticleMasses::mass array.
Fixes ubsan warnings seen in the FPGATrackSimConfTools tests in the dbg build.