Rick Dreiling, the CEO of US retailer Dollar General Corp, has announced his decision to retire.