tsan: fix failing CHECK In deadlock detector
and re-enable the test