Actually fix sys_rwlock_create

Fixes loading of Terraria.