Mars’s $23 billion deal to buy candy maker Wm. Wrigley Jr. Company is the second-largest merger announced so far this year, and that means some tasty fees for JPMorgan Chase and Goldman Sachs if the deal goes through.