US discount retailer Dollar General has reported a slight increase in fourth-quarter profit, despite the impact of severe winter weather and subsequent store closures.