[RESEND PATCH v2 1/3] cmd: mtd: add markbad command support