[Issue 8192] liblmdb confuses Windows error code with errno values