Fix TSAN artifact gathering in CI [v9_16]

Merged Petr Špaček requested to merge pspacek/tsan-ci-artifacts-fix-v9_16 into v9_16

Backport of MR !6853 (merged)

Merge request reports