[PATCH 5.2 219/413] bpf, libbpf, smatch: Fix potential NULL pointer dereference