Revert "Optimized ARM RWSEM algorithm"

This reverts commit 2675416872688bef6488f3fc9776bfa9330c1249.