[PATCH v4.9-stable] spi: Fix use-after-free with devm_spi_alloc_*