[PATCH 6.18 149/430] Input: ti_am335x_tsc - fix off-by-one error in wire_order validation