mtd: spi-nor: move "wait-till-ready" checks into erase/write functions