common: remove spurious uint32_t in buffer.c

Signed-off-by: Loic Dachary <loic-201408@dachary.org>