[MTD] Fix const assignment in the MTD command line partitioning driver