SI-5313 Disable dead local store optimization on ref and array types

Storing to local variables of reference or array type is indirectly
observable because it potentially allows gc to collect an object. So
this commit gets rid of dead store optimization on reference and array
types.

review @gkossakowski