[PATCH 4.19 141/271] bpf, libbpf, smatch: Fix potential NULL pointer dereference