[PATCH openEuler-22.09 139/379] libbpf: Add generic BTF type shallow copy API