esp32/esp32s2: Reduce using ESP_EARLY_LOGx and move some code after the stdout initialization in startup code Closes IDFGH-3367 See merge request espressif/esp-idf!8904