DFS/jffs2: fix file mode init bug in jffs2_open/opendir

found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153