mtd: spi-nor: cadence-quadspi: fix timeout handling