PGS Subtitles: The palette was incorrectly parsed.

This commit fixes some cases where PGS subtitles were displayed with wrong colors or even not displayed at all.
Testing