util: add strjoin/strcat helpers

Both helpers join/concatenate strings on the heap instead of pre-allocated
buffers like the ISO-C equivalents.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>