[9.16] TSAN summarising line was misplaced in run.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)