libbpf: Fix bail out from 'ringbuf_process_ring()' on error