[9.18] TSAN summarising line was misplaced in get_core_dumps.sh
The line summarising TSAN reports was misplaced in the ASAN territory and thus never used.
I also made core dumps, assertion failures, and TSAN reports detection independent of each other.
(cherry picked from commit 0c4c7dde)
Backport of MR !7870 (merged)
Edited by Michal Nowak