stdlib: remove a wrong internal check for COW array mutation
stdlib: remove a wrong internal check for COW array mutation

Don't complain if the empty array buffer singleton is set to mutable.
This can happen if reserveCapacity is called with a 0-capacity for an empty array.
In this case the resulting array is still the empty array singleton.
For the compiler, it's safe to treat the empty array singleton as "mutable", because there is never anything written to an array with zero capacity:
all mutating array operations do any form of capacity/size > 0 check in addition to the uniqueness check.

Unfortunately the empty array singleton sometimes needs such special handling with is not obvious (not to say hacky).

This wrong check only fired in very specific optimization scenarios, where the inliner and the COW optimizations must play together in a certain way.
I could not find an isolated test case for this problem.

rdar://problem/71107908

parkera/swift,hooman/swift,xwu/swift,hooman/swift,parkera/swift,ahoppen/swift,rudkx/swift,roambotics/swift,atrick/swift,jmgc/swift,apple/swift,parkera/swift,jmgc/swift,apple/swift,rudkx/swift,apple/swift,benlangmuir/swift,parkera/swift,xwu/swift,atrick/swift,xwu/swift,xwu/swift,tkremenek/swift,benlangmuir/swift,roambotics/swift,jmgc/swift,glessard/swift,atrick/swift,JGiola/swift,atrick/swift,rudkx/swift,xwu/swift,benlangmuir/swift,parkera/swift,tkremenek/swift,jmgc/swift,rudkx/swift,rudkx/swift,parkera/swift,gregomni/swift,hooman/swift,xwu/swift,glessard/swift,benlangmuir/swift,JGiola/swift,rudkx/swift,benlangmuir/swift,xwu/swift,glessard/swift,glessard/swift,tkremenek/swift,jmgc/swift,tkremenek/swift,glessard/swift,parkera/swift,gregomni/swift,roambotics/swift,gregomni/swift,jmgc/swift,jmgc/swift,JGiola/swift,ahoppen/swift,ahoppen/swift,gregomni/swift,hooman/swift,gregomni/swift,JGiola/swift,ahoppen/swift,gregomni/swift,benlangmuir/swift,atrick/swift,ahoppen/swift,apple/swift,hooman/swift,glessard/swift,JGiola/swift,ahoppen/swift,atrick/swift,hooman/swift,roambotics/swift,apple/swift,roambotics/swift,roambotics/swift,parkera/swift,tkremenek/swift,hooman/swift,tkremenek/swift,JGiola/swift,apple/swift,tkremenek/swift