perf machine: Fix __machine__findnew_thread() error path