spi: dw-mid: terminate ongoing transfers at exit