comctl32/edit: Call GetWindowTheme() only when necessary.