user32: Improve window state handling in SetScrollInfo().