[MTD] OneNAND: fix onenand_wait bug in read ecc error