fix(turbopack): Analyze for-of stmts to allow using `sharp` (#7424)
### Description
Analyze code like
```js
const paths = [
`../src/build/Release/sharp-${runtimePlatform}.node`,
'../src/build/Release/sharp-wasm32.node',
`@img/sharp-${runtimePlatform}/sharp.node`,
'@img/sharp-wasm32/sharp.node'
];
let sharp;
const errors = [];
for (const path of paths) {
try {
sharp = require(path);
break;
} catch (err) {
/* istanbul ignore next */
errors.push(err);
}
}
```
### Testing Instructions
Look at test changes.
- Closes https://github.com/vercel/next.js/issues/62088
- Closes PACK-2521
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>