[PATCH] libbpf: check the btf_type kind to prevent error