spi: do not use malloc in Gigadevice driver