fix(upgrade): don't rely upon the runtime to resolve forward refs (#27132)
fix(upgrade): don't rely upon the runtime to resolve forward refs (#27132)

The way that `UpgradeAdapter` needs to be setup, you often find that
you must pass a `forwardRef` for an `NgModule.import`. Pre-ivy, this
gets resolved at runtime, but until this is implemented in ivy, we can
workaround it by resolving it in the `UpgradeAdapter` upfront.

This should be backward-compatible since by the time we actually
create the dynamic `NgModule` that has the import, the imported
class should be defined.

PR Close #27132

Brocco/angular,hansl/angular,shairez/angular,StephenFluin/angular,manekinekko/angular,petebacondarwin/angular,angular/angular,ultrasonicsoft/angular,jasonaden/angular,matsko/angular,alxhub/angular,hansl/angular,JiaLiPassion/angular,jasonaden/angular,Brocco/angular,gnomeontherun/angular,gkalpak/angular,wKoza/angular,brandonroberts/angular,jasonaden/angular,angular/angular,alexeagle/angular,Toxicable/angular,angular-indonesia/angular,filipesilva/angular,Toxicable/angular,ultrasonicsoft/angular,mgechev/angular,snaptech/angular,alexeagle/angular,juristr/angular,StephenFluin/angular,IgorMinar/angular,angular/angular,wKoza/angular,mhevery/angular,mprobst/angular,mlaval/angular,alexeagle/angular,vikerman/angular,mprobst/angular,mprobst/angular,brandonroberts/angular,mhevery/angular,gnomeontherun/angular,petebacondarwin/angular,vikerman/angular,manekinekko/angular,shairez/angular,wKoza/angular,alexeagle/angular,ValtoFrameworks/Angular-2,angular/angular,mgechev/angular,JiaLiPassion/angular,mlaval/angular,IgorMinar/angular,Toxicable/angular,vikerman/angular,angular-indonesia/angular,snaptech/angular,petebacondarwin/angular,StephenFluin/angular,ValtoFrameworks/Angular-2,juristr/angular,matsko/angular,alxhub/angular,gdi2290/angular,snaptech/angular,shairez/angular,IdeaBlade/angular,manekinekko/angular,IdeaBlade/angular,IgorMinar/angular,mhevery/angular,mlaval/angular,snaptech/angular,mhevery/angular,hansl/angular,gdi2290/angular,sarunint/angular,gdi2290/angular,vikerman/angular,filipesilva/angular,ocombe/angular,jasonaden/angular,ocombe/angular,manekinekko/angular,ocombe/angular,juristr/angular,IgorMinar/angular,blesh/angular,mprobst/angular,angular-indonesia/angular,shairez/angular,Brocco/angular,ultrasonicsoft/angular,juristr/angular,manekinekko/angular,Brocco/angular,mprobst/angular,blesh/angular,IdeaBlade/angular,snaptech/angular,ocombe/angular,jasonaden/angular,ocombe/angular,mhevery/angular,vikerman/angular,matsko/angular,sarunint/angular,hansl/angular,alexeagle/angular,brandonroberts/angular,mgechev/angular,mlaval/angular,blesh/angular,gkalpak/angular,mhevery/angular,Toxicable/angular,StephenFluin/angular,gdi2290/angular,brandonroberts/angular,sarunint/angular,mlaval/angular,wKoza/angular,alxhub/angular,sarunint/angular,petebacondarwin/angular,jasonaden/angular,matsko/angular,gnomeontherun/angular,filipesilva/angular,shairez/angular,ValtoFrameworks/Angular-2,sarunint/angular,hansl/angular,filipesilva/angular,filipesilva/angular,petebacondarwin/angular,brandonroberts/angular,gkalpak/angular,Toxicable/angular,gdi2290/angular,manekinekko/angular,vikerman/angular,ValtoFrameworks/Angular-2,wKoza/angular,hansl/angular,Brocco/angular,gnomeontherun/angular,blesh/angular,StephenFluin/angular,ultrasonicsoft/angular,alexeagle/angular,petebacondarwin/angular,wKoza/angular,matsko/angular,alxhub/angular,JiaLiPassion/angular,snaptech/angular,gkalpak/angular,brandonroberts/angular,ultrasonicsoft/angular,juristr/angular,Brocco/angular,gdi2290/angular,ocombe/angular,sarunint/angular,mgechev/angular,blesh/angular,ultrasonicsoft/angular,ValtoFrameworks/Angular-2,JiaLiPassion/angular,mprobst/angular,Toxicable/angular,alxhub/angular,juristr/angular,IdeaBlade/angular,mgechev/angular,IdeaBlade/angular,IgorMinar/angular,angular-indonesia/angular,IgorMinar/angular