Use generic buffer functions to manage dhcp4 msgbuffer

Signed-off-by: Olaf Hering <olaf@aepfle.de>