linux: fix off-by-one in handling in /proc/net/route