Brinker records 2nd-Q loss on slow sales, charges