Use ioctl for half-duplex writes

Might as well use the ioctl for writes as well. Allows for more
specifications (speed, bits per word, delay) and avoids any buffering
and flushing issues with normal writes to the spidev character device.