Description
If we use reverse function for array type of primitive type containing null and the child array is UnsafeArrayData, the function returns a wrong result because UnsafeArrayData doesn't define the behavior of re-assignment, especially we can't set a valid value after we set null.