Consistently use array count that has been flushed to 0 for NULL arrays
Consistently use array count that has been flushed to 0 for NULL arrays

* This means we don't have a lingering size >0 for an array that won't
  be used for NULL. Mostly on read this is immaterial but on write it
  is significant.

TurtleRockStudios/renderdoc_public,cgmb/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,googlestadia/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,googlestadia/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,baldurk/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,michaelrgb/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,googlestadia/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,TurtleRockStudios/renderdoc_public