Avoid negative indexing in an array
Avoid negative indexing in an array

Change-Id: I7b2904343ac2faf43d0466724d454e560e1be8cf

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