Revert "Optimized ARM RWSEM algorithm"

This reverts commit 535d6a3a20c8b9660a501334cea268ac3f37def8.