fix Issue 12250 - [ICE](e2ir.c 2077) with inout T[] and array operation
Merge pull request #3335 from 9rnsr/fix12250

[REG2.065] Issue 12250 - [ICE](e2ir.c 2077) with inout T[] and array operation