cmd: spi: check return value of strdup