bpf: fix kallsyms handling for subprogs