Do not read uninitialized values in BasicArray<T>::create_array
Do not read uninitialized values in BasicArray<T>::create_array

Just write values to array. This will remove some issues reported
by valgrind.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core