US discounter Dollar General has raised its full-year earnings guidance on the back of an increase in third-quarter profits.