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

Signed-off-by: Carlos Jesús <xxx.reptar.rawrr.xxx@gmail.com>