No need to clear immigration on Int to Int in GRU. Even when switching terminals.
Between T3 flights (your case, apparently) it is a quick and easy procedure.
Between T2 and T3 you need to walk s tunnel linking the terminals airside, which takes additional minutes. But still easy.