[jit] Profiler argument handling changes (#10885)