Fix cases of variable shadowing in /bench/.

If we manage to fix all the existing cases of variable shadowing, we
could enable -Wshadow.

Change-Id: I91187f35a33293914958fba1c0b3b6adf5364e19
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/438318
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Herb Derby <herb@google.com>
diff --git a/bench/FontCacheBench.cpp b/bench/FontCacheBench.cpp
index c85713e..5d8966e 100644
--- a/bench/FontCacheBench.cpp
+++ b/bench/FontCacheBench.cpp
@@ -176,7 +176,7 @@
 
     void onDraw(int loops, SkCanvas* canvas) override {
         SkPath path;
-        for (int i = 0; i < loops; ++i) {
+        for (int loop = 0; loop < loops; ++loop) {
             if (fOneAtATime) {
                 for (size_t i = 0; i < SK_ARRAY_COUNT(fGlyphs); ++i) {
                     fFont.getPath(fGlyphs[i], &path);