Update mem_printk.c

fix for build on my Cubieboard2 with Cubian