[PATCH openEuler-22.09 v2 133/391] libbpf: Add generic BTF type shallow copy API