https://github.com/llvm/llvm-project/pull/179362 changes which op is checked for visibility during nested symbol resolution. This cause issues in the CUDA Fortran pipeline and make some lookup fails. Update the visibility of declaration copied to the gpu.module to nested.