[tools] testbot/LogUtils: Improve the pid detection on garbled lines.