Draft: Backport from gaussino fixes to compile pythia8 2.44 with gcc13 and gaudi > v39r0
Backporting by hand from Gaussino of
- Gaussino/Gaussino/!171 (merged)
- commit 30bc6c4cfd4c22c1934fa576663640a7c9bc99d7 from Gaussino/Gaussino!158 (merged)
to force it to compile with c++17 and preventing the loading of header files at testing.