[MTD] OneNAND: fix onenand_wait bug