Dollar notches weekly gain as traders reassess rate cut expectations