package/mtd: fix automatic partition size detection in fis_remap