CodeGen: Fix emission of __atomic_compare_exchange

We (wrongly) discarded the return value of the call.