dm: drop NULL test before kmem_cache_destroy() and mempool_destroy()