fix Issue 4611 - stack overflow or ICE(cgcod.c) when static array of structs exceeds 16MB limit