Fix LIR generation for long arithmetic operation
Fix LIR generation for long arithmetic operation

X86Mir2Lir::GenLongArith generated wrong LIR if the first argument
of the operation was promoted. It forgot to swap arguments if
the first was not temp, but the second was temp

Change-Id: I389f72f560ce9924859e17385bc8f64793c77b67
Signed-off-by: Serguei Katkov <53c1eb3349c33a81de4c7fece05dd168a3eb410e@intel.com>
Signed-off-by: Yevgeny Rouban <2db3fddf51c59900306a44cc34f842fc6ef154bb@intel.com>

treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst,treadstoneproject/artinst