[PATCH openEuler-5.10 01/89] bpf: Fix ringbuf helper function compatibility