librustc: Check regions for overloaded calls.

Fixes #14959.