Refactor fill_rect loops
Refactor fill_rect loops

Change-Id: I3e9255c9b82a2fb9806718caf4f744932f617456

GrokImageCompression/aom,smarter/aom,smarter/aom,smarter/aom,smarter/aom,smarter/aom,GrokImageCompression/aom,GrokImageCompression/aom,GrokImageCompression/aom,smarter/aom,GrokImageCompression/aom,GrokImageCompression/aom