lmdb: fix assertion failure in case error while opening DB in debug-mode.
lmdb: fix assertion failure in case error while opening DB in debug-mode.

Change-Id: I56a1122369640920d594416e9bd3de0f3f9cd8fd

leo-yuriev/libfpta,leo-yuriev/libfpta