[MTD] nandsim: add partition capability to nandsim