lwip: Changed to C linkage for fixing bug when using mixed C/C++ code
lwip: Changed to C linkage for fixing bug when using mixed C/C++ code

Merges https://github.com/espressif/esp-idf/pull/5900

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