DecoderThread: clear the pipe when handling late SEEK

See code comment.  Fixes assertion failure in
decoder_command_finished().
Decoder*: add more assertions