[PATCH 6.1 0298/1146] mtd: Fix device name leak when register device failed in add_mtd_device()