procstatsensor: improve handling
ProcStatsSensor: handle static values and counter wraps