AVISplitter: Fixed Drop Frame problems with some MJPG Files

Backport of MPC-BE commit 305