The PowerPC implementation seems to return EINVAL (22) for pthread_getaffinity_np.
Without access to source code, it is hard to know why, as parameters appear to be valid.
Drops changes added in these commits:
https://reviews.llvm.org/D127359
https://reviews.llvm.org/D127346
https://reviews.llvm.org/D127320
Depends on: https://reviews.llvm.org/D127327
typo