brancher: Commit threads: Stop spinning on bucket locks.

Lowers CPU waste when many commit threads are idle (i.e. when
--commit-workers is larger than the number of branches in this part of
SVN history).