Don't allocate array literals using the GC in certain special cases.