[PATCH bpf v3 1/6] libbpf: Fix use-after-free in btf_dump_name_dups