memcg: fix kmem_account_flags check in memcg_can_account_kmem()