[PATCH 6.12 353/423] tracing: Correct the refcount if the hist/hist_debug file fails to open