fix calculation of /proc/net/dev stats

Change-Id: Ifd21818ff0b07f4ac35c217d6466ee8f1111b81e