[PATCH 5.10 237/294] riscv: Fix spurious errors from __get/put_kernel_nofault