[PATCH openEuler-22.09 v3 291/391] libbpf: Refactor internal sec_def handling to enable pluggability