[libc] rewrite aarch64 memcmp implementation

This patch is simply rearranging the code layout so it's easier to understand.

Differential Revision: https://reviews.llvm.org/D106641

GitOrigin-RevId: cd2f5d5b496d43924c27e22f8abd9cff9266d028
2 files changed