gdb/riscv: Use correct regnum in riscv_linux_nat_target::fetch_registers