The beauty retailer, in which Warren Buffett’s Berkshire Hathaway recently bought a new stake, missed Wall Street sales and earnings forecasts in the second quarter.