Add pthread_rwlockattr_{get,set}pshared() andpthread_mutexattr_{get,set}kind_np()tweaked diff from brad
Split out the pthread_rwlock* and pthread_once() functions from rthread_sync.cto new files rthread_rwlock.c, rthread_rwlockattr.c, and rthread_once.c