Optimize garbage collect loop (#1526)
Optimize garbage collect loop (#1526)

Instead of starting from 0 and looping to the current frame,
start at the first frame we want to clear out. This will slightly
improve performance, particularly on long videos.
xiph/rav1e,xiph/rav1e