[added to the stable tree] cpuidle: Validate cpu_dev in cpuidle_add_sysfs()