MPEG-1/2 parser: fixed open GOPs after I frames

Patch by Basic.Master (see AUTHORS). Fixes #1084.