Avoid dec = -dec overflow when appending most negative signed integers.
Avoid dec = -dec overflow when appending most negative signed integers.

BUG=skia:3096

Review URL: https://codereview.chromium.org/700953003

MonkeyZZZZ/platform_external_skia,nfxosp/platform_external_skia,AOSP-YU/platform_external_skia,nvoron23/skia,vanish87/skia,rubenvb/skia,HalCanary/skia-hc,UBERMALLOW/external_skia,Hikari-no-Tenshi/android_external_skia,PAC-ROM/android_external_skia,Infinitive-OS/platform_external_skia,AOSPB/external_skia,shahrzadmn/skia,nfxosp/platform_external_skia,HalCanary/skia-hc,MonkeyZZZZ/platform_external_skia,samuelig/skia,TeamExodus/external_skia,google/skia,jtg-gg/skia,geekboxzone/mmallow_external_skia,nfxosp/platform_external_skia,MinimalOS-AOSP/platform_external_skia,TeamTwisted/external_skia,shahrzadmn/skia,google/skia,pcwalton/skia,amyvmiwei/skia,Hikari-no-Tenshi/android_external_skia,vanish87/skia,Hikari-no-Tenshi/android_external_skia,google/skia,VRToxin-AOSP/android_external_skia,jtg-gg/skia,todotodoo/skia,MinimalOS-AOSP/platform_external_skia,boulzordev/android_external_skia,BrokenROM/external_skia,samuelig/skia,google/skia,PAC-ROM/android_external_skia,rubenvb/skia,chenlian2015/skia_from_google,google/skia,AOSP-YU/platform_external_skia,DiamondLovesYou/skia-sys,pcwalton/skia,spezi77/android_external_skia,MarshedOut/android_external_skia,w3nd1go/android_external_skia,Hikari-no-Tenshi/android_external_skia,noselhq/skia,AOSPB/external_skia,Hikari-no-Tenshi/android_external_skia,AOSPB/external_skia,todotodoo/skia,HalCanary/skia-hc,chenlian2015/skia_from_google,aosp-mirror/platform_external_skia,VRToxin-AOSP/android_external_skia,OneRom/external_skia,UBERMALLOW/external_skia,noselhq/skia,Hikari-no-Tenshi/android_external_skia,shahrzadmn/skia,boulzordev/android_external_skia,MinimalOS-AOSP/platform_external_skia,Igalia/skia,tmpvar/skia.cc,AOSPB/external_skia,amyvmiwei/skia,spezi77/android_external_skia,nfxosp/platform_external_skia,Igalia/skia,Infinitive-OS/platform_external_skia,geekboxzone/mmallow_external_skia,OneRom/external_skia,shahrzadmn/skia,MarshedOut/android_external_skia,scroggo/skia,DiamondLovesYou/skia-sys,w3nd1go/android_external_skia,TeamExodus/external_skia,YUPlayGodDev/platform_external_skia,noselhq/skia,MarshedOut/android_external_skia,AOSPB/external_skia,w3nd1go/android_external_skia,aosp-mirror/platform_external_skia,TeamExodus/external_skia,YUPlayGodDev/platform_external_skia,rubenvb/skia,YUPlayGodDev/platform_external_skia,Igalia/skia,amyvmiwei/skia,OneRom/external_skia,nvoron23/skia,amyvmiwei/skia,tmpvar/skia.cc,qrealka/skia-hc,invisiblek/android_external_skia,Igalia/skia,HalCanary/skia-hc,geekboxzone/mmallow_external_skia,Igalia/skia,Jichao/skia,MarshedOut/android_external_skia,BrokenROM/external_skia,UBERMALLOW/external_skia,tmpvar/skia.cc,AOSP-YU/platform_external_skia,BrokenROM/external_skia,Igalia/skia,Jichao/skia,PAC-ROM/android_external_skia,geekboxzone/mmallow_external_skia,MarshedOut/android_external_skia,AOSPB/external_skia,todotodoo/skia,jtg-gg/skia,vanish87/skia,BrokenROM/external_skia,TeamTwisted/external_skia,aosp-mirror/platform_external_skia,BrokenROM/external_skia,jtg-gg/skia,ominux/skia,MinimalOS-AOSP/platform_external_skia,PAC-ROM/android_external_skia,ominux/skia,shahrzadmn/skia,UBERMALLOW/external_skia,geekboxzone/mmallow_external_skia,noselhq/skia,tmpvar/skia.cc,TeamTwisted/external_skia,tmpvar/skia.cc,OneRom/external_skia,scroggo/skia,MarshedOut/android_external_skia,TeamTwisted/external_skia,qrealka/skia-hc,nvoron23/skia,YUPlayGodDev/platform_external_skia,TeamExodus/external_skia,ominux/skia,ominux/skia,noselhq/skia,AOSP-YU/platform_external_skia,chenlian2015/skia_from_google,vanish87/skia,tmpvar/skia.cc,AOSP-YU/platform_external_skia,invisiblek/android_external_skia,DiamondLovesYou/skia-sys,chenlian2015/skia_from_google,w3nd1go/android_external_skia,MonkeyZZZZ/platform_external_skia,MarshedOut/android_external_skia,Jichao/skia,BrokenROM/external_skia,nfxosp/platform_external_skia,pcwalton/skia,jtg-gg/skia,spezi77/android_external_skia,invisiblek/android_external_skia,spezi77/android_external_skia,MonkeyZZZZ/platform_external_skia,rubenvb/skia,UBERMALLOW/external_skia,aosp-mirror/platform_external_skia,rubenvb/skia,qrealka/skia-hc,nvoron23/skia,invisiblek/android_external_skia,AOSPB/external_skia,timduru/platform-external-skia,pcwalton/skia,YUPlayGodDev/platform_external_skia,boulzordev/android_external_skia,HalCanary/skia-hc,rubenvb/skia,UBERMALLOW/external_skia,nvoron23/skia,Jichao/skia,HalCanary/skia-hc,PAC-ROM/android_external_skia,rubenvb/skia,DiamondLovesYou/skia-sys,VRToxin-AOSP/android_external_skia,PAC-ROM/android_external_skia,AOSP-YU/platform_external_skia,qrealka/skia-hc,w3nd1go/android_external_skia,nvoron23/skia,Hikari-no-Tenshi/android_external_skia,qrealka/skia-hc,w3nd1go/android_external_skia,tmpvar/skia.cc,google/skia,nfxosp/platform_external_skia,invisiblek/android_external_skia,MonkeyZZZZ/platform_external_skia,samuelig/skia,Infinitive-OS/platform_external_skia,scroggo/skia,shahrzadmn/skia,aosp-mirror/platform_external_skia,todotodoo/skia,todotodoo/skia,shahrzadmn/skia,Jichao/skia,aosp-mirror/platform_external_skia,samuelig/skia,google/skia,TeamExodus/external_skia,VRToxin-AOSP/android_external_skia,scroggo/skia,vanish87/skia,qrealka/skia-hc,rubenvb/skia,AOSPB/external_skia,vanish87/skia,TeamExodus/external_skia,chenlian2015/skia_from_google,invisiblek/android_external_skia,MonkeyZZZZ/platform_external_skia,HalCanary/skia-hc,rubenvb/skia,PAC-ROM/android_external_skia,timduru/platform-external-skia,aosp-mirror/platform_external_skia,TeamTwisted/external_skia,qrealka/skia-hc,AOSP-YU/platform_external_skia,OneRom/external_skia,timduru/platform-external-skia,amyvmiwei/skia,MonkeyZZZZ/platform_external_skia,todotodoo/skia,AOSPB/external_skia,geekboxzone/mmallow_external_skia,VRToxin-AOSP/android_external_skia,Infinitive-OS/platform_external_skia,pcwalton/skia,OneRom/external_skia,geekboxzone/mmallow_external_skia,invisiblek/android_external_skia,shahrzadmn/skia,pcwalton/skia,Infinitive-OS/platform_external_skia,PAC-ROM/android_external_skia,todotodoo/skia,jtg-gg/skia,pcwalton/skia,MinimalOS-AOSP/platform_external_skia,Infinitive-OS/platform_external_skia,nvoron23/skia,YUPlayGodDev/platform_external_skia,HalCanary/skia-hc,nfxosp/platform_external_skia,samuelig/skia,DiamondLovesYou/skia-sys,YUPlayGodDev/platform_external_skia,qrealka/skia-hc,OneRom/external_skia,geekboxzone/mmallow_external_skia,noselhq/skia,boulzordev/android_external_skia,jtg-gg/skia,aosp-mirror/platform_external_skia,Igalia/skia,DiamondLovesYou/skia-sys,boulzordev/android_external_skia,w3nd1go/android_external_skia,pcwalton/skia,UBERMALLOW/external_skia,Infinitive-OS/platform_external_skia,aosp-mirror/platform_external_skia,nfxosp/platform_external_skia,samuelig/skia,UBERMALLOW/external_skia,OneRom/external_skia,noselhq/skia,timduru/platform-external-skia,invisiblek/android_external_skia,MonkeyZZZZ/platform_external_skia,scroggo/skia,timduru/platform-external-skia,vanish87/skia,nvoron23/skia,MonkeyZZZZ/platform_external_skia,vanish87/skia,vanish87/skia,Jichao/skia,boulzordev/android_external_skia,DiamondLovesYou/skia-sys,MinimalOS-AOSP/platform_external_skia,samuelig/skia,boulzordev/android_external_skia,TeamTwisted/external_skia,BrokenROM/external_skia,google/skia,todotodoo/skia,google/skia,boulzordev/android_external_skia,aosp-mirror/platform_external_skia,VRToxin-AOSP/android_external_skia,nfxosp/platform_external_skia,amyvmiwei/skia,TeamExodus/external_skia,Igalia/skia,tmpvar/skia.cc,MarshedOut/android_external_skia,amyvmiwei/skia,AOSP-YU/platform_external_skia,Hikari-no-Tenshi/android_external_skia,ominux/skia,MinimalOS-AOSP/platform_external_skia,tmpvar/skia.cc,TeamTwisted/external_skia,google/skia,UBERMALLOW/external_skia,w3nd1go/android_external_skia,noselhq/skia,noselhq/skia,YUPlayGodDev/platform_external_skia,ominux/skia,TeamExodus/external_skia,w3nd1go/android_external_skia,rubenvb/skia,VRToxin-AOSP/android_external_skia,ominux/skia,spezi77/android_external_skia,YUPlayGodDev/platform_external_skia,TeamTwisted/external_skia,samuelig/skia,scroggo/skia,HalCanary/skia-hc,scroggo/skia,chenlian2015/skia_from_google,OneRom/external_skia,PAC-ROM/android_external_skia,MarshedOut/android_external_skia,TeamTwisted/external_skia,Jichao/skia,AOSP-YU/platform_external_skia,Jichao/skia,MinimalOS-AOSP/platform_external_skia,Infinitive-OS/platform_external_skia,HalCanary/skia-hc,MinimalOS-AOSP/platform_external_skia,Infinitive-OS/platform_external_skia,amyvmiwei/skia,nvoron23/skia,VRToxin-AOSP/android_external_skia,timduru/platform-external-skia,shahrzadmn/skia,ominux/skia,geekboxzone/mmallow_external_skia,boulzordev/android_external_skia,timduru/platform-external-skia,ominux/skia,chenlian2015/skia_from_google,TeamExodus/external_skia,VRToxin-AOSP/android_external_skia,spezi77/android_external_skia,pcwalton/skia,todotodoo/skia,scroggo/skia,BrokenROM/external_skia,Jichao/skia