java_heap_dump: Stop trace on CTRL+C with --continuous-dump

Before this change, --continuous-dump would not really work because it
stop recording after 1000ms (20000ms on older android).

This commit makes two changes:

* Sets an infinite duration if --continuous-dump is specified
* Forwards CTRL+C from the script to perfetto on device (if a second
  CTRL+C is received, the script is stopped instead).

Tested: ./tools/java_heap_dump with and without --continuous-dump

Reported-at: https://github.com/google/perfetto/issues/462

Change-Id: If5f41888332b25ecc45423d3208deb3abd742cf0
diff --git a/CHANGELOG b/CHANGELOG
index 5c92fd9..8194fa8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
 Unreleased:
   Tracing service and probes:
-    *
+    * --continuous-dump in tools/java_heap_dump now keeps recording until it
+      receives CTRL+C.
   Trace Processor:
     *
   UI: