unaligned.h: rationalise; provide buf_append_uint8 et al