[PATCH 4.14 29/53] intel_th: gth: Fix an off-by-one in output unassigning