Add atomic load/store bindings for ring counters.

This needs the corresponding version of shared-memory-ring.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>