Reduce scope of local variable
Reduce scope of local variable

Change-Id: Id8cc58ca56ebeea6b7f499a5fac4fb96e01d797b

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