tp.h: fix buffer allocation supporting any writer
https://github.com/mailru/tarantool/issues/20