ptrace: Fix --report-only bug (only kill solib thread if it has been started)