Revert "Optimized ARM RWSEM algorithm"

This reverts commit f4050536a7f2f3f8949b85b487cb09a912c3b7f1.