mtd: nand: omap: fix race condition in omap_wait()