esp_https_ota: fix bug where `http_client_init_cb` is called after `esp_http_client_perform()` instead of before.
esp_https_ota: fix bug where `http_client_init_cb` is called after `esp_http_client_perform()` instead of before.

Closes https://github.com/espressif/esp-idf/issues/9581

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf