perf: Use device_show_string() helper for sysfs attributes