[PATCH v2] xinput: Avoid calling XInputGetStateEx() in XInputGetState().