Make priavcy checking aware that a `use` directive can point to two defintions (namespaces) with different privacy.

closes #4110