[PATCH 6.1 105/440] libbpf: Checking the btf_type kind when fixing variable offsets