memcg: fix kmemcg registration for late caches