[PATCH openEuler-22.09 308/379] libbpf: Deprecate btf__finalize_data() and move it into libbpf.c