[PATCH openEuler-22.09 v2 237/391] libbpf: Do not close un-owned FD 0 on errors