[PATCH 5.11 051/210] libbpf: Fix bail out from ringbuf_process_ring() on error