spi/dw_spi: unify the low level read/write routines