kernel: fix ubifs loosing O_TMPFILE data after power cut