[AVR] Ensure register to be eliminated is de-allocated before applying optimization LdsMov2Lds.
Currently the two optimizations LdsLdsMovMov2LdsLds and LdsMov2Lds do not properly check whether the target registers are deallocated before applying the optimization. This can lead to bugs if the original register is reused later.