hal: workaround for UART FIFO read on ESP32 with -O2 optimization
hal: workaround for UART FIFO read on ESP32 with -O2 optimization

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