[PATCH 6.1 1/2] md: factor out a helper from mddev_put()