icalrecur.c: fix endless loop when certain weekly events cross a year boundary (add line of code that was mistakenly removed during the RSCALE transition)