[PATCH bpf-next v3 5/5] selftests/bpf: Accept mem from dynptr in helper funcs