[PATCH 6.1 278/600] md/raid10: factor out dereference_rdev_and_rrdev()