rtc: Activated syscalls,added check for return value

The code for the syscalls RTC_SET_TIME and RTC_GET_TIME is active now.
Moved check for capability to set hardware RTC time from the ioctl function to the function which sets the RTC time itself.

Signed-off-by: Christina Quast <chrysh.ng+github@gmail.com>