md/raid10: decrement correct pending counter when writing to replacement.