Annotate ring_buffer_base's atomics with appropriate memory ordering.
Annotate ring_buffer_base's atomics with appropriate memory ordering.

This avoid generating unnecessary barriers beyond those that are needed to
provide the required memory consistency.

kinetiknz/cubeb,kinetiknz/cubeb,kinetiknz/cubeb