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