Reading empty lines from /proc/stat causes panic

When reading `/proc/stat` empty lines would cause a panic. Fixed by using `strings.HasPrefix` instead.