[tsan] Fix checks for siginfo_t in tests