wim.c: replace finalize_wim_struct() with wim_decrement_refcnt()