Fix implicit assumption that RetainArray is not nullptr.
Fix implicit assumption that RetainArray is not nullptr.

The code in question was the following:

  auto *RetainArray = dyn_cast_or_null<StrongRetainInst>(getInstBefore(Call));
  if (!RetainArray && MayHaveBridgedObjectElementType)
    return false;
  auto *ReleaseArray = dyn_cast_or_null<StrongReleaseInst>(getInstAfter(Call));
  if (!ReleaseArray && MayHaveBridgedObjectElementType)
    return false;
  if (ReleaseArray &&
      ReleaseArray->getOperand() != RetainArray->getOperand())
    return false;

There is no check in the last if if RetainArray is not nullptr even though it is
possible for it to be so.

Found by clang static analyzer.

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