Simplify packet duplication code in ff_interleave_add_packet.