Do not create zombie processes in perfetto_hprof.

We now daemonize after forking to reparent the perfetto_hprof process
to init. ART now waits on the intermediate process, which immediately
exits, before resuming the prevent creating a zombie.

Bug: 148280975
Test: run profile, then `adb shell ps -A | grep Z`
Change-Id: I8d101331375a5542de58bfd0f4e54b8281d0a3a2
1 file changed