Fix UPC atomic operations on types that have no builtin