[PATCH 5.15 11/71] bpf: Fix ringbuf memory type confusion when passing to helpers