Silence compiler warnings.
Robustify reading of /proc/stat.

Thanks to P. Christeas <xrg@linux.gr> for the original fix.