target/riscv: Fix the range of pmpcfg of CSR funcion table