librustc: Properly tag upvars in proc's to stop misleading unused_mut warnings.

Fixes #16671.