Fixes error from improper usage of MemoryPointer#put_array_of_pointer.