[PATCH openEuler-5.10 43/48] bpf: Fix ringbuf memory type confusion when passing to helpers