Fix: Spinlock test triggers thread sanitizer.

3 jobs from master in 2 minutes 12 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #2683
build_cmake

00:36

 
  Test
passed #2684
run_tests

00:32

 
  Sanitizer
passed #2685
run_thread_sanitizer

01:04