fix memory leaks in MM and sTGC digitization
Manual sweep of !39665 (merged) from 21.9 - fixing some heap allocations which were resulting in some large leaks when profiled in 21.9.
- Use
Emplaceinstead of pushing back anew'd pointer which was not cleaned up inMM_Digitization. - Use
unique_ptrs insTgcDigitization.