[Y2038] [PATCH v3 07/26] compat_ioctl: move rtc handling into rtc-dev.c