[PATCH 5.10.y] mtd: Add check for devm_kcalloc()