kvargs: fix buffer overflow when parsing list