[PATCH 5.11 187/329] libbpf: Fix signed overflow in ringbuf_process_ring