[scudo] Avoid ifdef in test

GitOrigin-RevId: 6fd963ab64e7f0771bd59056b71ce915bc03d951
diff --git a/tests/wrappers_cpp_test.cpp b/tests/wrappers_cpp_test.cpp
index 24fbf27..461c864 100644
--- a/tests/wrappers_cpp_test.cpp
+++ b/tests/wrappers_cpp_test.cpp
@@ -109,13 +109,12 @@
 }
 
 TEST(ScudoWrappersCppTest, ThreadedNew) {
-#if !SCUDO_ANDROID
   // TODO: Investigate why libc sometimes crashes with tag missmatch in
   // __pthread_clockjoin_ex.
   std::unique_ptr<scudo::ScopedDisableMemoryTagChecks> NoTags;
-  if (scudo::systemSupportsMemoryTagging())
+  if (scudo::systemSupportsMemoryTagging() && !SCUDO_ANDROID)
     NoTags = std::make_unique<scudo::ScopedDisableMemoryTagChecks>();
-#endif
+
   Ready = false;
   std::thread Threads[32];
   for (size_t I = 0U; I < sizeof(Threads) / sizeof(Threads[0]); I++)