[PATCH v1 3/4] IOMUX: Refactor iomux_doenv() in order to increase readability