[AIX] [test-suite] Enable standard compatable mode on AIX

Summary: Since the current default `_ALL_SOURCE` causes numerous issues on AIX (e.g., typedef redefinition, unintended macro expansion), this patch changes the configuration to use standard-compatable mode by appending `XOPEN_SOURCE=700`. This flag is added to cflags for all the C test cases because a considerable number of C tests are affected by the `_ALL_SOURCE` problem. For one particular C++ test case that was also affected by `_ALL_SOURCE`, the flag is appended to the cxxflags in its sub-level CMakeLists.

Reviewers: hubert.reinterpretcast, daltenty

Reviewed By: daltenty

Subscribers: mgorny

Differential Revision: https://reviews.llvm.org/D82321
2 files changed