[polly] Fix unused variable warnings

This patch fixes:

  polly/lib/Transform/ScheduleOptimizer.cpp:935:17: error: unused
  variable 'File' [-Werror,-Wunused-variable]

  polly/lib/Transform/ScheduleOptimizer.cpp:936:9: error: unused
  variable 'Line' [-Werror,-Wunused-variable]

  polly/lib/Transform/ScheduleOptimizer.cpp:937:17: error: unused
  variable 'Msg' [-Werror,-Wunused-variable]

GitOrigin-RevId: bb367c14aea99ab744406f3e3a700186fd3f1ad6
diff --git a/lib/Transform/ScheduleOptimizer.cpp b/lib/Transform/ScheduleOptimizer.cpp
index cb08397..f01d3de 100644
--- a/lib/Transform/ScheduleOptimizer.cpp
+++ b/lib/Transform/ScheduleOptimizer.cpp
@@ -932,13 +932,14 @@
     POLLY_DEBUG(dbgs() << "Schedule optimizer calculation exceeds ISL quota\n");
     return;
   } else if (isl_ctx_last_error(Ctx) != isl_error_none) {
-    const char *File = isl_ctx_last_error_file(Ctx);
-    int Line = isl_ctx_last_error_line(Ctx);
-    const char *Msg = isl_ctx_last_error_msg(Ctx);
-    POLLY_DEBUG(
-        dbgs()
-        << "ISL reported an error during the computation of a new schedule at "
-        << File << ":" << Line << ": " << Msg);
+    POLLY_DEBUG({
+      const char *File = isl_ctx_last_error_file(Ctx);
+      int Line = isl_ctx_last_error_line(Ctx);
+      const char *Msg = isl_ctx_last_error_msg(Ctx);
+      dbgs() << "ISL reported an error during the computation of a new "
+                "schedule at "
+             << File << ":" << Line << ": " << Msg;
+    });
     isl_ctx_reset_error(Ctx);
     return;
   } else if (Schedule.is_null()) {