avcodec/util: Make size argument of ff_alloc_packet2() int64_t