Revert "Optimized ARM RWSEM algorithm"

This reverts commit 020bd4808b193f1c025688e7e68bbed3ec70b8be.