net: caif: spi: fix potential NULL dereference