gallivm: fix atomic compare-and-swap