Reland "Disable benchmarks that require _ALL_SOURCE on AIX"

This relands commit 6cce747d78245e3f20a0ad165503d6bcd6128174, which was
reverted by commit 220719ef572ea0ea8798844af45903600d8162d0 due to
concerns to the licenses. The concerns are addressed.
diff --git a/MultiSource/Applications/CMakeLists.txt b/MultiSource/Applications/CMakeLists.txt
index a73acd5..0b01602 100644
--- a/MultiSource/Applications/CMakeLists.txt
+++ b/MultiSource/Applications/CMakeLists.txt
@@ -31,7 +31,9 @@
   add_subdirectory(SPASS)
 endif()
 if(NOT ARCH STREQUAL "XCore")
-  add_subdirectory(ClamAV)
+  if(NOT TARGET_OS STREQUAL "AIX")
+    add_subdirectory(ClamAV)
+  endif()
   add_subdirectory(lemon)
   add_subdirectory(siod)
 endif()
diff --git a/MultiSource/Benchmarks/MallocBench/CMakeLists.txt b/MultiSource/Benchmarks/MallocBench/CMakeLists.txt
index e871a4a..43e203b 100644
--- a/MultiSource/Benchmarks/MallocBench/CMakeLists.txt
+++ b/MultiSource/Benchmarks/MallocBench/CMakeLists.txt
@@ -1,5 +1,7 @@
-add_subdirectory(espresso)
-add_subdirectory(gs)
+if(NOT "${TARGET_OS}" STREQUAL "AIX")
+  add_subdirectory(espresso)
+  add_subdirectory(gs)
+endif()
 if(NOT "${ARCH}" STREQUAL "Alpha")
   add_subdirectory(cfrac)
 endif()
diff --git a/MultiSource/Benchmarks/MiBench/CMakeLists.txt b/MultiSource/Benchmarks/MiBench/CMakeLists.txt
index e3062a5..ec23093 100644
--- a/MultiSource/Benchmarks/MiBench/CMakeLists.txt
+++ b/MultiSource/Benchmarks/MiBench/CMakeLists.txt
@@ -10,14 +10,14 @@
 add_subdirectory(telecomm-CRC32)
 add_subdirectory(telecomm-FFT)
 add_subdirectory(telecomm-gsm)
-if(NOT "${ARCH}" STREQUAL "XCore")
+if(NOT ("${ARCH}" STREQUAL "XCore" OR "${TARGET_OS}" STREQUAL "AIX"))
   add_subdirectory(consumer-lame)
 endif()
 if(NOT TEST_SUITE_BENCHMARKING_ONLY)
   add_subdirectory(office-stringsearch)
   add_subdirectory(security-blowfish)
   add_subdirectory(telecomm-adpcm)
-  if((NOT "${ARCH}" STREQUAL "XCore") AND (NOT "${ARCH}" STREQUAL "ARM"))
+  if(NOT ("${ARCH}" STREQUAL "XCore" OR "${ARCH}" STREQUAL "ARM" OR "${TARGET_OS}" STREQUAL "AIX"))
     add_subdirectory(office-ispell)
   endif()
 endif()
diff --git a/MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt b/MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt
index 13e85f1..fe49d50 100644
--- a/MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt
+++ b/MultiSource/Benchmarks/Prolangs-C/CMakeLists.txt
@@ -16,7 +16,9 @@
   add_subdirectory(simulator)
   add_subdirectory(unix-tbl)
   if(NOT "${ARCH}" STREQUAL "XCore")
-    add_subdirectory(archie-client)
+    if(NOT "${TARGET_OS}" STREQUAL "AIX")
+      add_subdirectory(archie-client)
+    endif()
     add_subdirectory(unix-smail)
   endif()
 endif()