avcodec/libxvid: Partially check plugins array size with assert