microsoft/compiler: Handle nested arrays correctly for emitting global consts