Fix spi transfer buffer sizes