cpu/hotplug: Add sysfs state interface