[PATCH 3/4] user32: Factor ActivateKeyboardLayout previous layout logic.