[tools] testbot/TestWTBS: Convert the job ranges into patch ranges.