fix uptime calculation for solaris

Return the correct number of seconds for the system uptime on solaris.