fix swp{b} use is deprecated for ARMv6 and ARMv7