Revert "Optimized ARM RWSEM algorithm"

This reverts commit 4ea6280e5476112a6de12c1ef7b7e2ab39be4588.
Revert "lib/string: use glibc version"

This reverts commit cce0d636bd6c0eda4e10c17cb8108d654dbe95da.