Revert "Optimized ARM RWSEM algorithm"

This reverts commit f0f5d6733adb6c0049cf7ad5e7cb6cfd030348fd.