[PATCH] mtd: fix error handling in uif_init()