Merge "Migrate pthread_rwlock implementation away from sys/atomics"