[libcxx] [test] Make windows triples in XFAILs less specific

This allows picking up on mingw triples that often use 'w64' instead
of 'pc' as the vendor part.

Differential Revision: https://reviews.llvm.org/D111297

GitOrigin-RevId: 6cac17e365a3603bb81b4979fff8009b54c4ff84
diff --git a/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp b/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
index 9dfe3af..e256564 100644
--- a/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
+++ b/test/std/depr/depr.c.headers/stdlib_h.aligned_alloc.compile.pass.cpp
@@ -16,7 +16,7 @@
 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
 
 // ::aligned_alloc is not implemented on Windows
-// XFAIL: target={{.+}}-pc-windows-{{.+}}
+// XFAIL: target={{.+}}-windows-{{.+}}
 
 #include <stdlib.h>
 #include <type_traits>
diff --git a/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp b/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
index f8af337..70bf3ec 100644
--- a/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
+++ b/test/std/language.support/support.runtime/cstdlib.aligned_alloc.compile.pass.cpp
@@ -16,7 +16,7 @@
 // XFAIL: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11|12|13|14}}
 
 // ::aligned_alloc is not implemented on Windows
-// XFAIL: target={{.+}}-pc-windows-{{.+}}
+// XFAIL: target={{.+}}-windows-{{.+}}
 
 #include <cstdlib>
 #include <type_traits>