[PATCH v2 11/21] fwu: mtd: modify the DFU API's to align with metadata version 2