Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`
14 files changed