Fix a desynchronisation bug.

When a start byte was received during a frame, the message that was being
assembled at the time was not correctly cleaned up.