ring: remove macro with ptr dereference

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>