pthreadimpl.h: Conditionalize thread affinity copying