[test] Fix noncopyable-irgen.swift failure on Android (#86692)
Android uses libc++, just like Darwin, so it has the same error message
for the constructor, not the one linux has with libstdc++, so check the
specific OS also.
Otherwise, we see this error on the Android
CI:
```
15:49:14 // expected-TEST7-LINUX-error@-7 {{call to deleted constructor of 'std::unique_ptr<int>'}}
15:49:14 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15:49:14 call to implicitly-deleted copy constructor of 'std::unique_ptr<int>'
```