esp_system: fix bootloader wdt enabled build issue Closes IDFGH-3717 See merge request espressif/esp-idf!9816