Barrick reports big loss on impairment charge