run-tests: prevent race-condition when picking a channel

Before this, multiple jobs could search the list at the same time and pick the
same free channel.

We now project this search/assignment with a simple lock.
15 jobs for topic/stable/fix-channel in 35 minutes and 26 seconds (queued for 10 seconds)