Change allocation of dynamic array to use new and delete[] so that it compiles with MSVC.
Change allocation of dynamic array to use new and delete[] so that it compiles
with MSVC.

https://tracker.physiomeproject.org/show_bug.cgi?id=2776



cmiss/cmgui,cmiss/cmgui