nanddump fixes in backup_mtd_partition