[JFFS2] Fix and improve debugging output during scan.