md/raid5: fix calculate of 'degraded' when a replacement becomes active.