COMP: Fix WrapITK shared build check for Windows case (#12028)
COMP: Fix WrapITK shared build check for Windows case (#12028)

On Windows we force BUILD_SHARED_LIBS to OFF because there is not
sufficient dllexport markup in all our third-party dependencies.
The original value is recorded in ITK_BUILD_SHARED_LIBS, so check
that one in WrapITK instead.

ajjl/ITK,LucHermitte/ITK,hendradarwin/ITK,hjmjohnson/ITK,itkvideo/ITK,paulnovo/ITK,hinerm/ITK,rhgong/itk-with-dom,paulnovo/ITK,cpatrick/ITK-RemoteIO,BlueBrain/ITK,CapeDrew/DCMTK-ITK,hinerm/ITK,cpatrick/ITK-RemoteIO,PlutoniumHeart/ITK,stnava/ITK,spinicist/ITK,paulnovo/ITK,BRAINSia/ITK,thewtex/ITK,atsnyder/ITK,blowekamp/ITK,atsnyder/ITK,paulnovo/ITK,itkvideo/ITK,zachary-williamson/ITK,wkjeong/ITK,CapeDrew/DCMTK-ITK,rhgong/itk-with-dom,jcfr/ITK,itkvideo/ITK,blowekamp/ITK,LucasGandel/ITK,wkjeong/ITK,CapeDrew/DCMTK-ITK,vfonov/ITK,PlutoniumHeart/ITK,wkjeong/ITK,LucasGandel/ITK,CapeDrew/DITK,heimdali/ITK,atsnyder/ITK,heimdali/ITK,BRAINSia/ITK,fuentesdt/InsightToolkit-dev,stnava/ITK,fbudin69500/ITK,msmolens/ITK,eile/ITK,LucasGandel/ITK,fbudin69500/ITK,hendradarwin/ITK,heimdali/ITK,BRAINSia/ITK,hinerm/ITK,wkjeong/ITK,CapeDrew/DCMTK-ITK,zachary-williamson/ITK,hjmjohnson/ITK,hinerm/ITK,cpatrick/ITK-RemoteIO,BRAINSia/ITK,CapeDrew/DITK,hendradarwin/ITK,wkjeong/ITK,CapeDrew/DITK,zachary-williamson/ITK,LucHermitte/ITK,itkvideo/ITK,vfonov/ITK,paulnovo/ITK,thewtex/ITK,itkvideo/ITK,zachary-williamson/ITK,biotrump/ITK,zachary-williamson/ITK,heimdali/ITK,eile/ITK,eile/ITK,fbudin69500/ITK,biotrump/ITK,fbudin69500/ITK,thewtex/ITK,LucasGandel/ITK,paulnovo/ITK,daviddoria/itkHoughTransform,hinerm/ITK,richardbeare/ITK,InsightSoftwareConsortium/ITK,biotrump/ITK,fedral/ITK,jmerkow/ITK,richardbeare/ITK,malaterre/ITK,malaterre/ITK,spinicist/ITK,CapeDrew/DITK,hinerm/ITK,GEHC-Surgery/ITK,stnava/ITK,atsnyder/ITK,daviddoria/itkHoughTransform,fedral/ITK,LucHermitte/ITK,atsnyder/ITK,PlutoniumHeart/ITK,CapeDrew/DITK,LucasGandel/ITK,msmolens/ITK,atsnyder/ITK,malaterre/ITK,paulnovo/ITK,CapeDrew/DITK,rhgong/itk-with-dom,GEHC-Surgery/ITK,jmerkow/ITK,itkvideo/ITK,fuentesdt/InsightToolkit-dev,CapeDrew/DCMTK-ITK,jmerkow/ITK,Kitware/ITK,hjmjohnson/ITK,msmolens/ITK,daviddoria/itkHoughTransform,hjmjohnson/ITK,stnava/ITK,daviddoria/itkHoughTransform,CapeDrew/DITK,vfonov/ITK,fedral/ITK,jmerkow/ITK,PlutoniumHeart/ITK,malaterre/ITK,spinicist/ITK,msmolens/ITK,ajjl/ITK,cpatrick/ITK-RemoteIO,fedral/ITK,heimdali/ITK,vfonov/ITK,vfonov/ITK,zachary-williamson/ITK,hendradarwin/ITK,eile/ITK,daviddoria/itkHoughTransform,blowekamp/ITK,zachary-williamson/ITK,spinicist/ITK,wkjeong/ITK,zachary-williamson/ITK,BRAINSia/ITK,PlutoniumHeart/ITK,PlutoniumHeart/ITK,BlueBrain/ITK,rhgong/itk-with-dom,jmerkow/ITK,CapeDrew/DCMTK-ITK,blowekamp/ITK,richardbeare/ITK,BlueBrain/ITK,thewtex/ITK,InsightSoftwareConsortium/ITK,atsnyder/ITK,cpatrick/ITK-RemoteIO,hendradarwin/ITK,rhgong/itk-with-dom,GEHC-Surgery/ITK,InsightSoftwareConsortium/ITK,atsnyder/ITK,GEHC-Surgery/ITK,hjmjohnson/ITK,thewtex/ITK,Kitware/ITK,malaterre/ITK,eile/ITK,fbudin69500/ITK,cpatrick/ITK-RemoteIO,daviddoria/itkHoughTransform,BlueBrain/ITK,LucasGandel/ITK,jmerkow/ITK,InsightSoftwareConsortium/ITK,stnava/ITK,fedral/ITK,wkjeong/ITK,biotrump/ITK,biotrump/ITK,GEHC-Surgery/ITK,eile/ITK,jmerkow/ITK,fuentesdt/InsightToolkit-dev,cpatrick/ITK-RemoteIO,wkjeong/ITK,msmolens/ITK,stnava/ITK,jcfr/ITK,Kitware/ITK,richardbeare/ITK,Kitware/ITK,stnava/ITK,fbudin69500/ITK,vfonov/ITK,InsightSoftwareConsortium/ITK,jcfr/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,itkvideo/ITK,BlueBrain/ITK,CapeDrew/DCMTK-ITK,BRAINSia/ITK,msmolens/ITK,LucHermitte/ITK,CapeDrew/DCMTK-ITK,ajjl/ITK,hendradarwin/ITK,jcfr/ITK,fbudin69500/ITK,stnava/ITK,heimdali/ITK,ajjl/ITK,eile/ITK,LucHermitte/ITK,jmerkow/ITK,atsnyder/ITK,zachary-williamson/ITK,daviddoria/itkHoughTransform,msmolens/ITK,spinicist/ITK,hinerm/ITK,stnava/ITK,InsightSoftwareConsortium/ITK,biotrump/ITK,ajjl/ITK,biotrump/ITK,rhgong/itk-with-dom,thewtex/ITK,jcfr/ITK,ajjl/ITK,rhgong/itk-with-dom,jcfr/ITK,malaterre/ITK,jcfr/ITK,ajjl/ITK,GEHC-Surgery/ITK,fbudin69500/ITK,BlueBrain/ITK,hjmjohnson/ITK,hjmjohnson/ITK,vfonov/ITK,biotrump/ITK,blowekamp/ITK,BlueBrain/ITK,LucHermitte/ITK,LucasGandel/ITK,Kitware/ITK,spinicist/ITK,spinicist/ITK,blowekamp/ITK,paulnovo/ITK,Kitware/ITK,hendradarwin/ITK,PlutoniumHeart/ITK,hinerm/ITK,fuentesdt/InsightToolkit-dev,blowekamp/ITK,BRAINSia/ITK,itkvideo/ITK,malaterre/ITK,eile/ITK,fedral/ITK,CapeDrew/DCMTK-ITK,jcfr/ITK,rhgong/itk-with-dom,fuentesdt/InsightToolkit-dev,fuentesdt/InsightToolkit-dev,malaterre/ITK,LucHermitte/ITK,richardbeare/ITK,PlutoniumHeart/ITK,blowekamp/ITK,ajjl/ITK,heimdali/ITK,msmolens/ITK,vfonov/ITK,LucHermitte/ITK,fedral/ITK,hinerm/ITK,GEHC-Surgery/ITK,cpatrick/ITK-RemoteIO,hendradarwin/ITK,spinicist/ITK,daviddoria/itkHoughTransform,spinicist/ITK,fedral/ITK,thewtex/ITK,richardbeare/ITK,CapeDrew/DITK,LucasGandel/ITK,itkvideo/ITK,richardbeare/ITK,BlueBrain/ITK,fuentesdt/InsightToolkit-dev,malaterre/ITK,daviddoria/itkHoughTransform,GEHC-Surgery/ITK,fuentesdt/InsightToolkit-dev,heimdali/ITK,CapeDrew/DITK,eile/ITK,vfonov/ITK,fuentesdt/InsightToolkit-dev