DBusServer: exclusively use atomic operations on the refcount