[PATCH 6.18 297/430] intel_th: Fix error handling in intel_th_output_open