[Issue 8537] liblmdb errors with data=NULL and non-matching SET_KEY