cmake: fix setting defaults in idf_build_process
cmake: fix setting defaults in idf_build_process

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

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