Fix: PGS subtitle timings were sometimes wrong.

Some PGS subtitles started or ended too late.

Subtitles should be queued before we know when they really end because the next subtitle can come much later in the stream.

This commit fixes #3691.
Remove a duplicated clean-up.