Bug #52861 unset failes with ArrayObject and deep arrays

When checking to make into a reference write, readwrite are checked but not unset. This means that multidimensional arrays cannot be unset. See the bug report for more details.  This does not cause a break in BC other than the obvious fixing of the bug. Thanks to @auroraeosrose for helping me locate and did it!