spi: More sanity checks for transfers