db/gdbm: Ensure transit length includes null terminator

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>