Bug 1093032 - Fix regressions caused by Symbol.iterator

This just inlines `forInIterator` from `sdk/util/iteration.js` tha was not used anywhere else.