Make IsWriteableArrayHandle independent of device
Previously, to query whether an ArrayHandle was writable with IsWriteableArrayHandle, you had to specify a device adapter. The idea was that it would look at the portal used for that device adapter. Instead, check the control pointer, which should give the same indication without having to have a separate check for every type of device.