Increase the test app optimization level to one that would find this issue.
These functions were used only for esp32 in secure_boot and flash encryption. Use idf efuse APIs instead of efuse regs.