Revert "Optimized ARM RWSEM algorithm"

This reverts commit 8f9896ff28c4c5707e39c80fed70ec543b8c3340.