port of fix from 3.5.x for issue #3408 - getprocs64 on aix
Merge pull request #1683 from McAtte/port-fix-for-3408-aix-getprocs64

port of fix from 3.5.x for issue #3408 - getprocs64 on aix