tp: fix ninja gzip by flushing data in gzip parser

As the ninja parser pushes all events in NotifyEndOfFile, we need to
call this even when going through gzip

Bug: https://github.com/google/perfetto/issues/329
Change-Id: Ib8bc56c270670a17323ec1e951d288773b3eb3a5
diff --git a/src/trace_processor/importers/gzip/gzip_trace_parser.cc b/src/trace_processor/importers/gzip/gzip_trace_parser.cc
index 640f2f1..7d7b8d8 100644
--- a/src/trace_processor/importers/gzip/gzip_trace_parser.cc
+++ b/src/trace_processor/importers/gzip/gzip_trace_parser.cc
@@ -112,6 +112,9 @@
   // util::Status.
   PERFETTO_DCHECK(!needs_more_input_);
   PERFETTO_DCHECK(!buffer_);
+
+  if (inner_)
+    inner_->NotifyEndOfFile();
 }
 
 }  // namespace trace_processor