memcg: fix behavior under memory.limit equals to memsw.limit