[PATCH 6.6 139/568] libbpf: Checking the btf_type kind when fixing variable offsets