[demuxer] Avoid memcpy on every demuxer packet

Avoids an unnecessary memcpy on every demuxer packet which for
high bitrate videos can be significant.
It copies pointer to data, but we don't call av_free_packet until the DemuxPacket is freed (e.g. after decode), so the contents of the packet persists.