Convenience macro to do error check and assert in cases when error recovery is not expected
With this change, flash operations can run on both cores. NVS and WiFi stack can also run in dual core mode now.