Implement __upc_atomic_cas via __atomic_compare_exchange

This should resolve the remainder of issue #27