(simplify_shift_const, XOR case): When applying distributive law, use shift_mode and GET_MODE (varop) instead of result_mode. From-SVN: r5189