This adds a function to print into a malloced string Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>