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