md: raid1: Fix restoration of bio between failed read and write.