Fix declspec-thread.cpp test with a triple

Not all triples support it.