locking: Convert raw_rwlock functions to arch_rwlock