[PATCH 5.11 077/122] libbpf: Fix potential NULL pointer dereference