[PATCH 6.10 204/809] libbpf: Checking the btf_type kind when fixing variable offsets