[PATCH 4.14 087/137] intel_th: Fix device removal logic