Fix constant initialization of classes with array elements