dinput: Undefine SW_MAX to avoid possible conflicts with winuser.h.