[PATCH 5.12 427/700] bpf: Fix libelf endian handling in resolv_btfids