common: Fix malloc nit in regression test.
* common/t-iobuf.c: Add boilerplate. (xmalloc): New. Use it everywhere.