jffs2: Fix segmentation fault found in stress test