fix for GrBatchAtlas valgrind error
fix for GrBatchAtlas valgrind error

TBR=bsalomon@google.com
BUG=skia:

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

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