[PATCH openEuler-1.0-LTS 024/111] md: factor out a mddev_find_locked helper from mddev_find