Proper check for PTHREAD_PRIO_INHERIT
Proper check for PTHREAD_PRIO_INHERIT

Replace Android specific check with the generic POSIX compliant check that
should work on all platforms.

maxk-org/hogl,maxk-org/hogl,maxk-org/hogl,maxk-org/hogl