[PATCH 5.15 161/511] md/raid10: factor out dereference_rdev_and_rrdev()