[PATCH 5.15 064/484] libbpf: Checking the btf_type kind when fixing variable offsets