Combine ArrayLiteralExp::toConstElem and initializeArrayLiteral implementations.
Do not heap-allocate immutable array literals.