fixes #777 Limit the optimize oplog thread's work to a
configurable-length quantum

fixup