avcodec/mpegvideo_enc: fix padding for odd dimensions and interlaced video