avcodec/rawenc: Use ff_alloc_packet() instead of ff_alloc_packet2()