Workaround for an... interesting bug in Darwin's pthread_rwlock_init.