[packages] make xf86-input-tslib compile with XInput version >= 3.