build: Define _NPTH_NO_RWLOCK when we can't find pthread_rwlock_t.