avcodec/ffv1enc: fix size used for ff_alloc_packet2()