simplified macro version of xprintf

Signed-off-by: Sebastien Varrette <sebastien.varrette@uni.lu>