[sil-cloner] Add a helper method for registering opened existentials remapping. NFC.
[sil-cloner] Add a helper method for registering opened existentials remapping. NFC.

This is just a minor re-factoring of the existing code. It does not change the functionality.

tjw/swift,shahmishal/swift,frootloops/swift,hughbe/swift,uasys/swift,uasys/swift,atrick/swift,harlanhaskins/swift,return/swift,sschiau/swift,OscarSwanros/swift,ben-ng/swift,brentdax/swift,codestergit/swift,swiftix/swift,jtbandes/swift,rudkx/swift,therealbnut/swift,shajrawi/swift,natecook1000/swift,karwa/swift,huonw/swift,natecook1000/swift,atrick/swift,djwbrown/swift,calebd/swift,tinysun212/swift-windows,parkera/swift,austinzheng/swift,brentdax/swift,therealbnut/swift,milseman/swift,ahoppen/swift,aschwaighofer/swift,swiftix/swift,gregomni/swift,jmgc/swift,milseman/swift,karwa/swift,gmilos/swift,ben-ng/swift,austinzheng/swift,manavgabhawala/swift,JaSpa/swift,kperryua/swift,huonw/swift,danielmartin/swift,stephentyrone/swift,felix91gr/swift,jopamer/swift,airspeedswift/swift,tinysun212/swift-windows,sschiau/swift,parkera/swift,harlanhaskins/swift,shahmishal/swift,jopamer/swift,gregomni/swift,djwbrown/swift,jmgc/swift,OscarSwanros/swift,tardieu/swift,frootloops/swift,rudkx/swift,apple/swift,xedin/swift,roambotics/swift,zisko/swift,arvedviehweger/swift,tkremenek/swift,shajrawi/swift,benlangmuir/swift,codestergit/swift,shajrawi/swift,swiftix/swift,benlangmuir/swift,return/swift,ben-ng/swift,stephentyrone/swift,jtbandes/swift,tkremenek/swift,manavgabhawala/swift,JaSpa/swift,return/swift,xedin/swift,allevato/swift,parkera/swift,amraboelela/swift,deyton/swift,glessard/swift,kstaring/swift,hooman/swift,milseman/swift,shahmishal/swift,alblue/swift,practicalswift/swift,CodaFi/swift,calebd/swift,OscarSwanros/swift,brentdax/swift,swiftix/swift,benlangmuir/swift,hooman/swift,xedin/swift,frootloops/swift,CodaFi/swift,amraboelela/swift,austinzheng/swift,modocache/swift,apple/swift,parkera/swift,atrick/swift,stephentyrone/swift,jckarter/swift,djwbrown/swift,JGiola/swift,frootloops/swift,milseman/swift,xedin/swift,huonw/swift,tkremenek/swift,sschiau/swift,manavgabhawala/swift,xwu/swift,shajrawi/swift,zisko/swift,arvedviehweger/swift,hughbe/swift,aschwaighofer/swift,jopamer/swift,CodaFi/swift,ben-ng/swift,gmilos/swift,amraboelela/swift,arvedviehweger/swift,deyton/swift,tardieu/swift,jopamer/swift,arvedviehweger/swift,gregomni/swift,deyton/swift,tardieu/swift,codestergit/swift,bitjammer/swift,CodaFi/swift,austinzheng/swift,codestergit/swift,swiftix/swift,hooman/swift,arvedviehweger/swift,gribozavr/swift,karwa/swift,alblue/swift,gribozavr/swift,jtbandes/swift,codestergit/swift,rudkx/swift,gottesmm/swift,alblue/swift,jopamer/swift,shajrawi/swift,tjw/swift,uasys/swift,modocache/swift,tinysun212/swift-windows,sschiau/swift,sschiau/swift,gmilos/swift,devincoughlin/swift,ahoppen/swift,kstaring/swift,shahmishal/swift,devincoughlin/swift,roambotics/swift,gregomni/swift,IngmarStein/swift,jckarter/swift,milseman/swift,jmgc/swift,OscarSwanros/swift,jckarter/swift,JaSpa/swift,amraboelela/swift,gottesmm/swift,harlanhaskins/swift,IngmarStein/swift,modocache/swift,felix91gr/swift,Jnosh/swift,jckarter/swift,JGiola/swift,practicalswift/swift,sschiau/swift,practicalswift/swift,felix91gr/swift,ben-ng/swift,calebd/swift,danielmartin/swift,glessard/swift,kperryua/swift,JGiola/swift,rudkx/swift,hughbe/swift,kperryua/swift,apple/swift,amraboelela/swift,harlanhaskins/swift,natecook1000/swift,glessard/swift,gribozavr/swift,gmilos/swift,shahmishal/swift,zisko/swift,manavgabhawala/swift,IngmarStein/swift,karwa/swift,frootloops/swift,therealbnut/swift,practicalswift/swift,huonw/swift,tkremenek/swift,nathawes/swift,atrick/swift,gribozavr/swift,huonw/swift,stephentyrone/swift,natecook1000/swift,gribozavr/swift,OscarSwanros/swift,allevato/swift,tardieu/swift,tinysun212/swift-windows,aschwaighofer/swift,bitjammer/swift,benlangmuir/swift,tardieu/swift,practicalswift/swift,uasys/swift,lorentey/swift,nathawes/swift,parkera/swift,jckarter/swift,kstaring/swift,gottesmm/swift,karwa/swift,therealbnut/swift,apple/swift,atrick/swift,danielmartin/swift,Jnosh/swift,xwu/swift,jtbandes/swift,bitjammer/swift,aschwaighofer/swift,jmgc/swift,modocache/swift,felix91gr/swift,brentdax/swift,ben-ng/swift,hughbe/swift,gribozavr/swift,sschiau/swift,brentdax/swift,bitjammer/swift,kperryua/swift,kperryua/swift,parkera/swift,airspeedswift/swift,shahmishal/swift,kstaring/swift,allevato/swift,danielmartin/swift,tkremenek/swift,austinzheng/swift,deyton/swift,swiftix/swift,gregomni/swift,devincoughlin/swift,tinysun212/swift-windows,xwu/swift,tjw/swift,gribozavr/swift,lorentey/swift,manavgabhawala/swift,hooman/swift,JaSpa/swift,harlanhaskins/swift,jtbandes/swift,allevato/swift,deyton/swift,zisko/swift,allevato/swift,alblue/swift,huonw/swift,tinysun212/swift-windows,therealbnut/swift,calebd/swift,rudkx/swift,airspeedswift/swift,gmilos/swift,tjw/swift,parkera/swift,practicalswift/swift,tjw/swift,practicalswift/swift,nathawes/swift,JGiola/swift,CodaFi/swift,CodaFi/swift,codestergit/swift,return/swift,xedin/swift,allevato/swift,apple/swift,sschiau/swift,hughbe/swift,tkremenek/swift,Jnosh/swift,OscarSwanros/swift,xwu/swift,brentdax/swift,alblue/swift,calebd/swift,JGiola/swift,bitjammer/swift,practicalswift/swift,harlanhaskins/swift,arvedviehweger/swift,uasys/swift,return/swift,bitjammer/swift,deyton/swift,xwu/swift,natecook1000/swift,alblue/swift,lorentey/swift,IngmarStein/swift,glessard/swift,amraboelela/swift,shajrawi/swift,djwbrown/swift,kstaring/swift,jopamer/swift,ahoppen/swift,IngmarStein/swift,uasys/swift,gottesmm/swift,ahoppen/swift,tkremenek/swift,allevato/swift,jmgc/swift,danielmartin/swift,xwu/swift,tinysun212/swift-windows,lorentey/swift,natecook1000/swift,rudkx/swift,apple/swift,airspeedswift/swift,ahoppen/swift,therealbnut/swift,JGiola/swift,IngmarStein/swift,zisko/swift,xedin/swift,frootloops/swift,harlanhaskins/swift,CodaFi/swift,JaSpa/swift,hooman/swift,shahmishal/swift,stephentyrone/swift,glessard/swift,karwa/swift,shajrawi/swift,xedin/swift,gribozavr/swift,gottesmm/swift,gottesmm/swift,shahmishal/swift,Jnosh/swift,danielmartin/swift,frootloops/swift,tardieu/swift,airspeedswift/swift,aschwaighofer/swift,gmilos/swift,devincoughlin/swift,xwu/swift,lorentey/swift,lorentey/swift,jtbandes/swift,felix91gr/swift,jopamer/swift,arvedviehweger/swift,gottesmm/swift,xedin/swift,modocache/swift,nathawes/swift,kstaring/swift,hooman/swift,glessard/swift,nathawes/swift,therealbnut/swift,zisko/swift,OscarSwanros/swift,kstaring/swift,Jnosh/swift,austinzheng/swift,gmilos/swift,roambotics/swift,felix91gr/swift,djwbrown/swift,tjw/swift,natecook1000/swift,austinzheng/swift,nathawes/swift,airspeedswift/swift,swiftix/swift,stephentyrone/swift,tjw/swift,devincoughlin/swift,aschwaighofer/swift,calebd/swift,bitjammer/swift,milseman/swift,parkera/swift,jckarter/swift,kperryua/swift,milseman/swift,return/swift,kperryua/swift,hughbe/swift,djwbrown/swift,danielmartin/swift,jmgc/swift,jmgc/swift,huonw/swift,nathawes/swift,devincoughlin/swift,Jnosh/swift,ahoppen/swift,aschwaighofer/swift,devincoughlin/swift,shajrawi/swift,JaSpa/swift,alblue/swift,JaSpa/swift,manavgabhawala/swift,lorentey/swift,atrick/swift,deyton/swift,codestergit/swift,hughbe/swift,zisko/swift,hooman/swift,modocache/swift,lorentey/swift,karwa/swift,roambotics/swift,stephentyrone/swift,manavgabhawala/swift,djwbrown/swift,roambotics/swift,tardieu/swift,karwa/swift,amraboelela/swift,felix91gr/swift,benlangmuir/swift,brentdax/swift,modocache/swift,benlangmuir/swift,IngmarStein/swift,uasys/swift,jtbandes/swift,ben-ng/swift,devincoughlin/swift,gregomni/swift,jckarter/swift,airspeedswift/swift,return/swift,calebd/swift,roambotics/swift,Jnosh/swift