esp32: Add missing header file in esp_task.h
esp32: Add missing header file in esp_task.h

This commit adds a missing header file in esp_task.h
required for configMAX_PRIORITIES.

Closes #2341

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