Fix: thread sanitizer result not picked up correctly in CI.
Sanitizer
run_thread_sanitizer
[ 80%] Building CXX object test/CMakeFiles/tests.dir/example_tests.cpp.o
[ 90%] Building CXX object test/CMakeFiles/tests.dir/thread_tests.cpp.o
[100%] Linking CXX executable ../bin/tests
[100%] Built target tests
===============================================================================
All tests passed (5 assertions in 4 test cases)
./ci_scripts/run_thread_sanitizer.sh: line 16: exit: ?$: numeric argument required
ERROR: Job failed: exit code 1