rtc: switch to using is_visible() to control sysfs attributes