cmakelists: move spi_flash to COMPONENT_REQUIRES
cmakelists: move spi_flash to COMPONENT_REQUIRES

in the include file esp_ota_ops.h "esp_partition.h" is included.
This is from spi_flash so component that requires app_update also will need that

this fixes this error:

  In file included from ../components/esp32-homie/ota.c:11:0:
  /esp-idf/components/app_update/include/esp_ota_ops.h:22:27: fatal error: esp_partition.h: No such file or directory

Signed-off-by: Nicola Lunghi <25422924+nicola-lunghi@users.noreply.github.com>

Merges https://github.com/espressif/esp-idf/pull/1947

mashaoze/esp-idf,www220/esp-idf,espressif/esp-idf,armada-ai/esp-idf,mashaoze/esp-idf,espressif/esp-idf,www220/esp-idf,armada-ai/esp-idf,espressif/esp-idf,mashaoze/esp-idf,mashaoze/esp-idf,armada-ai/esp-idf,mashaoze/esp-idf,armada-ai/esp-idf,www220/esp-idf,www220/esp-idf,espressif/esp-idf,www220/esp-idf