Optimize away atomic instructions on Duetto