Provide glthread/lock.h implementation in terms of Guile threads.