lavf/segment: drop pointless variable oc from seg_write_packet()