Revert "Optimized ARM RWSEM algorithm"

This reverts commit d8bb551feca6b139eb9ad21769e5cd2bf2fe197e.