pthread.c: Conditionalize thread affinity initialization