BG/Q utility function to print current memory usage, uses deb_printf and SPI