LazyValueInfo: range'ify some for-loops. No functional change.