librados: Add C API coverage for atomic write operations

Signed-off-by: Christian Marie <christian@ponies.io>