Allocate struct key_def in memcached.cc on stack.

Follow up on refactoring of struct key_def ownerhship.