libatomic_ops: 7.2d - portable atomic operations

Add a new formula for libatomic_ops that provides portable atomic
operations on many platforms.