ccconverter: reintroduce frame count reset on cycle completion
If we run for enough, then input_frames and output_frames may cause fraction calculations to overflow. Fix by resetting both counters when the fraction comparison says that they are both equal.