memcg: fix off-by-one when calculating swap cgroup map length