Log long GC pause only when the process cares about pause time

Change-Id: Iffdb83dff43020c3477b5391deb04102e00eb61e
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc
index a2453b8..b4d1490 100644
--- a/runtime/gc/heap.cc
+++ b/runtime/gc/heap.cc
@@ -1268,7 +1268,7 @@
       }
   }
 
-  if (was_slow) {
+  if (was_slow && care_about_pause_times_) {
       const size_t percent_free = GetPercentFree();
       const size_t current_heap_size = GetBytesAllocated();
       const size_t total_memory = GetTotalMemory();