[PATCH] rtc subsystem, fix capability checks in kernel interface