Make !dump_array tolerate nullness better.

Gets us down to just 3 p6regex tests failing on JVM.