[PATCH 5.11 149/152] riscv: evaluate put_user() arg before enabling user access