gdbstub: revert to previous set_reg behaviour