[PATCH openEuler-1.0-LTS 048/109] dm table: fix zoned iterate_devices based device capability checks