Upcast uptime from syscall

On arm and i386 the uptime value is int32 rather than int64,
so upcast to satify the function return value.