[ubsan][test] Skip Misc/Posix/static-link.cpp on Solaris (#175464)

The `UBSan-Standalone-x86_64 :: TestCases/Misc/Posix/static-link.cpp`
test currently `FAIL`s on Solaris/x86_64 with
```
ld: fatal: option '-z record' is incompatible with building a static executable
```
One cannot create static executables on Solaris since no `libc.a` is
delivered, so this patch skips the test.

Tested on `x86_64-pc-solaris2.11`.

GitOrigin-RevId: 5c2b510f882129fcdb3945842e3d050b068f3cda
1 file changed