Call tchdboptimize only in 1% of the OpenTokyoDatabase() calls

Even though we call non-reentrant rand() from multiple thread contexts,
there is no harm done even if bad random numbers are returned.
Merge pull request #755 from jimis/blah2

Call tchdboptimize only in 1% of the OpenTokyoDatabase() calls