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