Fixing buffer overflow in ktlanc.

The library ktlanc did not handle the
case when values were larger than a
fixed MAX_VALUE_LEN. Now values are
malloced by the KT system, according
to actual size, rather than a fixed
size in the cgo level.