libbpf: Make btf__resolve_size logic always check size error condition