yaffs: fix to detect MLC/TLC NAND flash