[PATCH 4.14 071/338] mtd: Fix device name leak when register device failed in add_mtd_device()