impatomic: add strong/weak compare_exchange