US discounter Dollar General has booked an increase in first-quarter profits but cut the top end of its full-year earnings forecast.