simulator: fix compile errors in nand driver(512+16)