[PATCH 5.4 114/177] intel_th: Fix a double put_device() in error path