[PATCH v2 07/21] drivers: fwu: mtd: allocate buffer for image info dynamically