gen: mark copied register as the owner in o_tmpcopy()