[PATCH 4.18 139/228] intel_th: Fix device removal logic