dm ioctl: allow dm_copy_name_and_uuid to return only one field