lmdb: clean up implementation of proxy functions using a macro
lmdb: clean up implementation of proxy functions using a macro

The designated initializers used are specified in C99.  I'm not sure
what the minimum requirement is for LMDB but this seems it seems
reasonable for now.

bmatsuo/lmdb-go,bmatsuo/lmdb-go