When config flash mode as QIO mode, the error that esp_rom_spiflash_wait_idle and esp_rom_spiflash_config_readmode are undefined happens when compile, so add these two APIs to fix the error.
Similar to commits for esp32 target: e84b26f5, 8c2f2867, 5719cd6f
e84b26f5
8c2f2867
5719cd6f