Hopefully fix buildbot issues with database locks by serializing buildbots use of sqlite.  Server has been hanging on occasion because of this issue. Thanks to David Dean for this patch.

git-svn-id: https://llvm.org/svn/llvm-project/zorg/trunk@206405 91177308-0d34-0410-b5e6-96231b3b80d8