rtc: make rtc_xxx accept/return ISADevice instead of RTCState.