htsbuf: Make allocsize configurable