[C++20] [Modules] Fix ADL for friend in modules
Close https://github.com/llvm/llvm-project/issues/170235
The cause of the issue is it didn't check friendness for decls
in ordinary namespace if it isn't visible.
It is fine for code before modules, since everything is visible.
But it is not true after modules came in. This patch adjusts this.
Note that this doesn't change the control flow for non-modules codes,
as the decls in ordinary namespace is always visible then it won't never
fall in following friendness check.