Fix Decred transaction weight calculation.