[PATCH 5.10 35/77] riscv, bpf: Fix potential NULL dereference