mm: handle no memcg case in memcg_kmem_charge() properly