asm-generic: rwsem: ensure sem->cnt is only accessed via atomic_long_*

https://github.com/neobuddy89/hammerhead/commit/02a5cfc3b32610e42b97652d33a13f116fcb1bba