configure: add test case for pthread_getaffinity_np()