[PATCH 4.9 22/41] intel_th: gth: Fix an off-by-one in output unassigning