US consumer sentiment posts 1st decline in 4 months