fix for gpu valgrind bot

TBR=egdaniel@google.com
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689823004

Review URL: https://codereview.chromium.org/1689823004
diff --git a/tools/ThermalManager.cpp b/tools/ThermalManager.cpp
index 7a3911d..36f7468 100644
--- a/tools/ThermalManager.cpp
+++ b/tools/ThermalManager.cpp
@@ -94,9 +94,9 @@
     fullPath.appendf("/%s", pointName.c_str());
     fPoint = OpenFileAndReadInt32(fullPath.c_str());
     fBase = GetTemp(fThermalZoneRoot);
+    fThreshold = threshold;
     fDisabled = fBase >= fPoint + fThreshold;  // We disable any trip point which start off
                                                // triggered
-    fThreshold = threshold;
     if (!fDisabled) {
         SkDebugf("Trip point %s base - %d trip point-%d\n", fullPath.c_str(),
                  fBase, fPoint);