fhdl/module/finalize: pass additional args to do_finalize
New CSR API