[AArch64] Use std::swap instead of manually swapping