Revert "[sanitizer] Fix test linking"

This reverts commit afafa883a4757d88d869d1abb6bf7e11022fd521.

-pthread was not the fix. Symbols removed from GLIBC 2.34
Fixed with e60b3fcefa62311a93a9f7c8589a1da5f25b1ba9.

GitOrigin-RevId: dd87c5b322684b072e9df3058b84d09a702a1ea4
diff --git a/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp b/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
index d5f5e30..fee8866 100644
--- a/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
+++ b/test/sanitizer_common/TestCases/Linux/pthread_mutex.cpp
@@ -1,5 +1,5 @@
-// RUN: %clangxx -O1 -pthread %s -o %t && %run %t
-// RUN: %clangxx -O1 -pthread -DUSE_GLIBC %s -o %t && %run %t
+// RUN: %clangxx -O1 %s -o %t && %run %t
+// RUN: %clangxx -O1 -DUSE_GLIBC %s -o %t && %run %t
 // UNSUPPORTED: android
 
 #include <pthread.h>