Fix varargs arity mismatch with WT metadata

The metadata cursor was being get_value'd and set_value'd with different arity.