Redmine #5233: Fix uptime calculation on Solaris.

Also make it a little less verbose when detecting errors, since it
will retry using "uptime" command if the kstat probing is
unsuccessful.