tsan: fix SIGRTMAX handling