Micron forecasts surprise loss for second quarter