[PATCH 6.1 0299/1146] mtd: core: fix possible resource leak in init_mtd()