Get tracing parameters before aborting the ongoing trace

After forking, we abort any ongoing trace and start a new trace with a
new file so we can capture the child's trace as well. To start a new
trace we get the tracing parameters of the parent. We need to do this
before aborting the ongoing trace.

Bug: 259258187
Test: art/testrunner.py -t 689-zygote-jit-deopt
Change-Id: I230d063920ade605acaa37eaa6ab5964bc7b97ba
2 files changed