Kill off some usages of the ArraySize macro.

This required the use of std::array in some cases.