Starbucks Chairman and CEO Brian Niccol said the results were evidence that the company’s turnaround plan is taking hold.