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.
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.