perfetto_hprof: be smarter about splitting packets am: 2246a4ebf1

Change-Id: I4f135d9c13f77369c507f389308885275dc7923f