remove warning
split LMDB into its Env, open the headersdb and blkdb into one env, and share
the transaction for them.

also, use mutex in lmdbpp