introduce a macro

And replace all occurrences of AO_fetch_compare_and_swap, essentially
hiding them behind a thin layer of sanity.