[PATCH 5.10 064/103] libbpf: Fix potential NULL pointer dereference