OLED driver: fix spi write function