spi: fixed crash when calling spi_bus_free when not initialized (v4.4) See merge request espressif/esp-idf!17608