Citigroup, like other big banks, was hammered by troubles in its oil and gas loan portfolio and difficult trading markets in the first quarter.