avcodec/mpeg12dec: Fixes runtime error: division by zero