rkflashtool: fix read/write on linuxroot partition

Read size from NAND info when the partition extends up to the end of NAND