debugger: fix reset_msgid

Don't change the msg->id when that message has been processed already