JOHANNESBURG (Reuters) - Global consultancy McKinsey worked with a firm in South Africa for four months after learning it was controlled by the Gupta brothers, business friends of President Jacob Zuma accused of corruption, four sources familiar with the deal said.