time: Fix signedness bug in sysfs_get_uname() and its callers