Revert "Optimized ARM RWSEM algorithm"

This reverts commit d701c43b2831f101db05c0fca486e15058208993.