[PATCH openEuler-5.10 30/66] riscv, bpf: Fix potential NULL dereference