avformat/mvdec: Fix DoS due to lack of eof check