McLaren's Oscar Piastri overtook Mercedes driver George Russell on lap 45 to move into the podium positions in Singapore.