generic: platform/mikrotik: release mtd device after use