avformat/matroskadec: Do not leak queued packets on sync errors