Revert "Optimized ARM RWSEM algorithm"

This reverts commit e0a247eddd44dff79acd656126b39d114f83ec10.