Only reallocate cliprect memory if the number of cliprects changes.