US discount retailer Family Dollar Stores has lowered its full-year earnings forecast despite booking an increase in first-half profits.