bpf: Fix kfunc callback register type handling