US doughnut maker and retailer Krispy Kreme has reported a first-quarter net loss as its operations were hit by the popularity of low-carbohydrate diets.