Fixup unused warnings when running without threads.
Fixup unused warnings when running without threads.

binsys/unbound,binsys/unbound,LTD-Beget/unbound,LTD-Beget/unbound,LTD-Beget/unbound,binsys/unbound,LTD-Beget/unbound,binsys/unbound