weight: properly reset weights when no-residual early-out is taken

This fixes a hash mismatch seen with a Main10 encode of sintel-480p

--HG--
branch : stable