Krispy Kreme narrows 3Q loss