[PATCH] md: fix calculation of ->degraded for multipath and raid10