[PATCH v4 3/4] libbpf: Add ring__consume_n / ring_buffer__consume_n