libxavs: switch to ff_alloc_packet2().