(ITS#8453) lmdb: fix warning on Apple platforms