Resolve md names in udev_resolve_devspec. (#1047338)

Also return the md name if the device we found is an md device.