Actually fix sys_rwlock_create
Merge pull request #751 from tambry/RWLockFix

Actually fix sys_rwlock_create