producer: ensure returned messages have no flags

Otherwise, feeding a returned message back into the input could confuse the
state machine.

@wvanbergen 
When the message was e.g. retried (internally) before being successfully delivered