Fix store elimination bug

Previously we assumed all store values were 32 bits; but this is not
true, we need to check for this and extend to 32 bits.