libbpf: Fix func leak in attach_kprobe