gpio: 74x164: Use spi_write() helper instead of open coding