[GIT PULL 1/3] intel_th: Fix a double put_device() in error path