JPMorgan CEO Jamie Dimon called the economy resilient, but pointed to an “increasingly complex set of risks” across global markets.