Fixes to debug printing.
Fixes to debug printing.

ihc/futhark,diku-dk/futhark,diku-dk/futhark,HIPERFIT/futhark,diku-dk/futhark,HIPERFIT/futhark,ihc/futhark,diku-dk/futhark,diku-dk/futhark,HIPERFIT/futhark,ihc/futhark