Diagnose capture at pack iteration, rather than iterator variable
This change prevents diagnoseCaptureLoc from finding the use of each
value in the pack during pack iteration, and instead diagnoses where
`repeat each x` appears in the loop, since the loop usage is the actual
capture.