jffs2: fix another potential leak on error path in scan.c