On AIX sem_init with parameter pshared=0 creates semaphore inaccessible by child
process. This breaks gpg-agent.
Workaround is fall back to sem_open, allready implemented in library.
Please see atteched patch for npth master with configure test for sem_init
capability.
Tested on powerpc AIX 5.3, 7.1.
More details here:
https://lists.gnupg.org/pipermail/gnupg-devel/2016-February/030812.html