ADC Fix compiling when included from C++ (GitHub PR) Closes IDFGH-6804 See merge request espressif/esp-idf!17216