This patch fixes the test `force_thread_creation_failure.cpp` on AIX by using platform specific `RLIMIT_THREADS` which helps in restricting the thread creation as `RLIMIT_NPROC` on AIX restricts processes and not threads. --------- Co-authored-by: himadhith <himadhith.v@ibm.com>