[PATCH] soc: soc-dapm: fix two incorrect uses of list iterator