Fix the build to work with Boost 1.52.
Fix the build to work with Boost 1.52.

boost/thread/lock_guard.hpp was added in 1.53.  Using locks.hpp
instead should work with both earlier and later versions.

simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim