md/raid10: Split handle_read_error out from raid10d.