gdb/riscv: Prevent buffer overflow in riscv_return_value