Updated sqlite3 lock callbacks to work with windows pthreads.
Updated sqlite3 lock callbacks to work with windows pthreads.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch