[kmzfile] implement zfgetuntil_realloc

And make zfreadline_realloc a wrapper of this. Also optimise/simplify a
bit.
[test/kseq] add kseq.h, used for comparison

in benchmarks.c