Minor build fixes: don't export WT_CONFIG_ITEM with SWIG, uninitialized 'ret'.