While full-year sales jumped 8% the supermarket giant made a loss due to pandemic costs.