Made the memcmp address sanitizer clean.
Made the memcmp address sanitizer clean.

Added extra check to ensure memcmp gets called with a size that is
guaranteed within range of the buffer. This wasn't a real problem,
but stops address sanitizer from complaining.

See:
https://github.com/google/flatbuffers/issues/88
https://github.com/joker-eph/flatbuffers/commit/517506b4e105814e0823353c3d6561085c26a1ab#commitcomment-8265231

Change-Id: I7de24da2d36d973e154f92eeb3e093070886037f
Tested: on Linux

robertfsegal/flatbuffers,kadirahq/flatbuffers,chenkai036/flatbuffers,zhuxiaohao/flatbuffers,hryang/flatbuffers,JackLian/flatbuffers,yiliaofan/flatbuffers,evanw/flatbuffers,DavadDi/flatbuffers,JackLian/flatbuffers,alexames/flatbuffers,zhuxiaohao/flatbuffers,google/flatbuffers,bog-dan-ro/flatbuffers,yaolinz/flatbuffers,kiyoto-suzuki/flatbuffers,radent/flatbuffers,yaolinz/flatbuffers,BlueBrain/flatbuffers,Belxjander/flatbuffers,stewartmiles/flatbuffers,Reimerei/flatbuffers,pakoito/flatbuffers,davidnasar/flatbuffers,lulufei/flatbuffers,vanloswang/flatbuffers,EricLagergren/flatbuffers,RyanTech/flatbuffers,rw/flatbuffers,rdumusc/flatbuffers,fuchsia-mirror/third_party-flatbuffers,Reimerei/flatbuffers,onecityuni/flatbuffers,yiliaofan/flatbuffers,royalharsh/flatbuffers,guker/flatbuffers,xiaPier/flatbuffers,vanloswang/flatbuffers,hgl888/flatbuffers,lulufei/flatbuffers,fuchsia-mirror/third_party-flatbuffers,Belxjander/flatbuffers,wingahi/flatbuffers,uus169/flatbuffers,wheelcomplex/flatbuffers,alexames/flatbuffers,kusharami/flatbuffers,tieusangaka/flatbuffers,evolutional/flatbuffers,DavadDi/flatbuffers,RyanTech/flatbuffers,i17c/flatbuffers,benssson/flatbuffers,DavadDi/flatbuffers,felixguendling/flatbuffers,EricLagergren/flatbuffers,chenkai036/flatbuffers,kiyoto-suzuki/flatbuffers,rw/flatbuffers,evolutional/flatbuffers,DreamHill/flatbuffers,wheelcomplex/flatbuffers,guker/flatbuffers,evolutional/flatbuffers,kadirahq/flatbuffers,pjulien/flatbuffers,marschall/flatbuffers,jekinchen/flatjni,layzerar/flatbuffers,mormegil-cz/flatbuffers,vitalyisaev2/flatbuffers,ThomasBrixLarsen/flatbuffers,evanw/flatbuffers,iperry/flatbuffers,mormegil-cz/flatbuffers,kiyoto-suzuki/flatbuffers,google/flatbuffers,stewartmiles/flatbuffers,xudeheng/flatbuffers,alarouche/flatbuffers,chenkai036/flatbuffers,Belxjander/flatbuffers,i17c/flatbuffers,arbitrary-cat/flatbuffers,kiyoto-suzuki/flatbuffers,hgl888/flatbuffers,lulufei/flatbuffers,google/flatbuffers,SinbadFreedom/FlatBuffer,bog-dan-ro/flatbuffers,wuyan6293/flatbuffers,iperry/flatbuffers,MiCHiLU/flatbuffers,fengshao0907/flatbuffers,stewartmiles/flatbuffers,yaolinz/flatbuffers,zarianw/flatbuffers,benssson/flatbuffers,kiyoto-suzuki/flatbuffers,onecityuni/flatbuffers,rdumusc/flatbuffers,royalharsh/flatbuffers,EricLagergren/flatbuffers,onecityuni/flatbuffers,Volcanoscar/flatbuffers,aeneid/flatbuffers,uus169/flatbuffers,MiCHiLU/flatbuffers,FrankStain/flatbuffers,google/flatbuffers,wheelcomplex/flatbuffers,jasonstubbs/flatbuffers,endorph-soft/flatbuffers,DreamHill/flatbuffers,endorph-soft/flatbuffers,yiliaofan/flatbuffers,cogumbreiro/flatbuffers,dwillmer/flatbuffers,evolutional/flatbuffers,hryang/flatbuffers,DreamHill/flatbuffers,tieusangaka/flatbuffers,arbitrary-cat/flatbuffers,kadirahq/flatbuffers,stewartmiles/flatbuffers,DreamHill/flatbuffers,evanw/flatbuffers,jackyglony/flatbuffers,stewartmiles/flatbuffers,jekinchen/flatjni,eburkitt/flatbuffers,bog-dan-ro/flatbuffers,brunoqc/flatbuffers,RyanTech/flatbuffers,stewartmiles/flatbuffers,evanw/flatbuffers,RyanTech/flatbuffers,Belxjander/flatbuffers,eburkitt/flatbuffers,chobie/flatbuffers,rw/flatbuffers,RAldrich/flatbuffers,ajrulez/flatbuffers,chobie/flatbuffers,cogumbreiro/flatbuffers,EricLagergren/flatbuffers,radent/flatbuffers,JackLian/flatbuffers,eburkitt/flatbuffers,KeronTeam/flatbuffers,pjulien/flatbuffers,rdumusc/flatbuffers,pakoito/flatbuffers,zarianw/flatbuffers,iperry/flatbuffers,google/flatbuffers,pjulien/flatbuffers,FrankStain/flatbuffers,RAldrich/flatbuffers,jbrads/flatbuffers,ThomasBrixLarsen/flatbuffers,SinbadFreedom/FlatBuffer,bog-dan-ro/flatbuffers,SinbadFreedom/FlatBuffer,brunoqc/flatbuffers,alexames/flatbuffers,iperry/flatbuffers,ThomasBrixLarsen/flatbuffers,1yvT0s/flatbuffers,lulufei/flatbuffers,bog-dan-ro/flatbuffers,alexames/flatbuffers,alexames/flatbuffers,zhuxiaohao/flatbuffers,eproxus/flatbuffers,jekinchen/flatjni,uus169/flatbuffers,MiCHiLU/flatbuffers,eburkitt/flatbuffers,mormegil-cz/flatbuffers,robertfsegal/flatbuffers,ThomasBrixLarsen/flatbuffers,chobie/flatbuffers,pjulien/flatbuffers,marschall/flatbuffers,alexames/flatbuffers,jbrads/flatbuffers,jackyglony/flatbuffers,EricLagergren/flatbuffers,MiCHiLU/flatbuffers,jasonstubbs/flatbuffers,hgl888/flatbuffers,hryang/flatbuffers,bog-dan-ro/flatbuffers,google/flatbuffers,evolutional/flatbuffers,Reimerei/flatbuffers,alexames/flatbuffers,alexames/flatbuffers,chobie/flatbuffers,kiyoto-suzuki/flatbuffers,jekinchen/flatjni,google/flatbuffers,jackyglony/flatbuffers,fuchsia-mirror/third_party-flatbuffers,pjulien/flatbuffers,1yvT0s/flatbuffers,arbitrary-cat/flatbuffers,madvay/flatbuffers,wuyan6293/flatbuffers,yaolinz/flatbuffers,MiCHiLU/flatbuffers,FrankStain/flatbuffers,kusharami/flatbuffers,splhack/flatbuffers,hryang/flatbuffers,vanloswang/flatbuffers,eproxus/flatbuffers,pakoito/flatbuffers,jekinchen/flatjni,tieusangaka/flatbuffers,cogumbreiro/flatbuffers,aeneid/flatbuffers,layzerar/flatbuffers,benssson/flatbuffers,DreamHill/flatbuffers,endorph-soft/flatbuffers,fuchsia-mirror/third_party-flatbuffers,wingahi/flatbuffers,JackLian/flatbuffers,SinbadFreedom/FlatBuffer,wheelcomplex/flatbuffers,bog-dan-ro/flatbuffers,xudeheng/flatbuffers,FrankStain/flatbuffers,MiCHiLU/flatbuffers,EricLagergren/flatbuffers,madvay/flatbuffers,SinbadFreedom/FlatBuffer,rw/flatbuffers,endorph-soft/flatbuffers,arbitrary-cat/flatbuffers,hgl888/flatbuffers,rdumusc/flatbuffers,chenkai036/flatbuffers,wuyan6293/flatbuffers,RAldrich/flatbuffers,pakoito/flatbuffers,dwillmer/flatbuffers,vanloswang/flatbuffers,cogumbreiro/flatbuffers,1yvT0s/flatbuffers,BlueBrain/flatbuffers,robertfsegal/flatbuffers,robertfsegal/flatbuffers,jackyglony/flatbuffers,robertfsegal/flatbuffers,davidnasar/flatbuffers,jbrads/flatbuffers,xudeheng/flatbuffers,benssson/flatbuffers,zhuxiaohao/flatbuffers,yiliaofan/flatbuffers,wheelcomplex/flatbuffers,marschall/flatbuffers,RAldrich/flatbuffers,marschall/flatbuffers,mormegil-cz/flatbuffers,yaolinz/flatbuffers,1yvT0s/flatbuffers,jekinchen/flatjni,FrankStain/flatbuffers,KeronTeam/flatbuffers,vanloswang/flatbuffers,zarianw/flatbuffers,tieusangaka/flatbuffers,brunoqc/flatbuffers,cogumbreiro/flatbuffers,fuchsia-mirror/third_party-flatbuffers,SinbadFreedom/FlatBuffer,BlueBrain/flatbuffers,google/flatbuffers,zarianw/flatbuffers,zhuxiaohao/flatbuffers,alexames/flatbuffers,endorph-soft/flatbuffers,alexames/flatbuffers,wingahi/flatbuffers,jbrads/flatbuffers,rw/flatbuffers,alexames/flatbuffers,evolutional/flatbuffers,arbitrary-cat/flatbuffers,zarianw/flatbuffers,kusharami/flatbuffers,alexames/flatbuffers,felixguendling/flatbuffers,splhack/flatbuffers,vanloswang/flatbuffers,stewartmiles/flatbuffers,google/flatbuffers,madvay/flatbuffers,aeneid/flatbuffers,evolutional/flatbuffers,evolutional/flatbuffers,wingahi/flatbuffers,evolutional/flatbuffers,fengshao0907/flatbuffers,pjulien/flatbuffers,alexames/flatbuffers,pjulien/flatbuffers,layzerar/flatbuffers,Reimerei/flatbuffers,guker/flatbuffers,Volcanoscar/flatbuffers,jasonstubbs/flatbuffers,google/flatbuffers,onecityuni/flatbuffers,pakoito/flatbuffers,alexames/flatbuffers,eproxus/flatbuffers,i17c/flatbuffers,chenkai036/flatbuffers,BlueBrain/flatbuffers,xudeheng/flatbuffers,FrankStain/flatbuffers,chobie/flatbuffers,vitalyisaev2/flatbuffers,Belxjander/flatbuffers,iperry/flatbuffers,royalharsh/flatbuffers,kadirahq/flatbuffers,marschall/flatbuffers,jasonstubbs/flatbuffers,royalharsh/flatbuffers,tieusangaka/flatbuffers,tieusangaka/flatbuffers,evolutional/flatbuffers,fuchsia-mirror/third_party-flatbuffers,eburkitt/flatbuffers,felixguendling/flatbuffers,royalharsh/flatbuffers,google/flatbuffers,xudeheng/flatbuffers,pakoito/flatbuffers,endorph-soft/flatbuffers,jbrads/flatbuffers,cogumbreiro/flatbuffers,jekinchen/flatjni,chobie/flatbuffers,evolutional/flatbuffers,DavadDi/flatbuffers,pjulien/flatbuffers,dwillmer/flatbuffers,endorph-soft/flatbuffers,endorph-soft/flatbuffers,jekinchen/flatjni,layzerar/flatbuffers,FrankStain/flatbuffers,BlueBrain/flatbuffers,yiliaofan/flatbuffers,uus169/flatbuffers,stewartmiles/flatbuffers,eburkitt/flatbuffers,EricLagergren/flatbuffers,splhack/flatbuffers,kadirahq/flatbuffers,mormegil-cz/flatbuffers,endorph-soft/flatbuffers,pjulien/flatbuffers,hryang/flatbuffers,wuyan6293/flatbuffers,Volcanoscar/flatbuffers,endorph-soft/flatbuffers,onecityuni/flatbuffers,1yvT0s/flatbuffers,rw/flatbuffers,guker/flatbuffers,brunoqc/flatbuffers,splhack/flatbuffers,stewartmiles/flatbuffers,Volcanoscar/flatbuffers,vitalyisaev2/flatbuffers,rw/flatbuffers,benssson/flatbuffers,felixguendling/flatbuffers,royalharsh/flatbuffers,ThomasBrixLarsen/flatbuffers,rdumusc/flatbuffers,kusharami/flatbuffers,DavadDi/flatbuffers,alarouche/flatbuffers,yaolinz/flatbuffers,ajrulez/flatbuffers,stewartmiles/flatbuffers,wingahi/flatbuffers,royalharsh/flatbuffers,evanw/flatbuffers,hanhailong/flatbuffers,benssson/flatbuffers,eproxus/flatbuffers,google/flatbuffers,xiaPier/flatbuffers,fengshao0907/flatbuffers,rw/flatbuffers,vitalyisaev2/flatbuffers,hanhailong/flatbuffers,eburkitt/flatbuffers,chenkai036/flatbuffers,dwillmer/flatbuffers,rw/flatbuffers,evolutional/flatbuffers,felixguendling/flatbuffers,yiliaofan/flatbuffers,RyanTech/flatbuffers,KeronTeam/flatbuffers,chenkai036/flatbuffers,Reimerei/flatbuffers,dwillmer/flatbuffers,alexames/flatbuffers,i17c/flatbuffers,google/flatbuffers,MiCHiLU/flatbuffers,alarouche/flatbuffers,chobie/flatbuffers,aeneid/flatbuffers,iperry/flatbuffers,jasonstubbs/flatbuffers,chobie/flatbuffers,KeronTeam/flatbuffers,rw/flatbuffers,uus169/flatbuffers,chenkai036/flatbuffers,layzerar/flatbuffers,brunoqc/flatbuffers,RyanTech/flatbuffers,alarouche/flatbuffers,JackLian/flatbuffers,hgl888/flatbuffers,rdumusc/flatbuffers,google/flatbuffers,ajrulez/flatbuffers,madvay/flatbuffers,aeneid/flatbuffers,zarianw/flatbuffers,Volcanoscar/flatbuffers,xiaPier/flatbuffers,wheelcomplex/flatbuffers,dwillmer/flatbuffers,hryang/flatbuffers,Volcanoscar/flatbuffers,felixguendling/flatbuffers,alarouche/flatbuffers,kadirahq/flatbuffers,fuchsia-mirror/third_party-flatbuffers,Belxjander/flatbuffers,davidnasar/flatbuffers,guker/flatbuffers,guker/flatbuffers,i17c/flatbuffers,jbrads/flatbuffers,brunoqc/flatbuffers,splhack/flatbuffers,splhack/flatbuffers,DavadDi/flatbuffers,SinbadFreedom/FlatBuffer,robertfsegal/flatbuffers,rw/flatbuffers,jasonstubbs/flatbuffers,eproxus/flatbuffers,jackyglony/flatbuffers,pjulien/flatbuffers,JackLian/flatbuffers,FrankStain/flatbuffers,evanw/flatbuffers,mormegil-cz/flatbuffers,fengshao0907/flatbuffers,fengshao0907/flatbuffers,kiyoto-suzuki/flatbuffers,SinbadFreedom/FlatBuffer,EricLagergren/flatbuffers,chenkai036/flatbuffers,kiyoto-suzuki/flatbuffers,wheelcomplex/flatbuffers,KeronTeam/flatbuffers,aeneid/flatbuffers,zhuxiaohao/flatbuffers,ajrulez/flatbuffers,layzerar/flatbuffers,ajrulez/flatbuffers,kiyoto-suzuki/flatbuffers,jekinchen/flatjni,stewartmiles/flatbuffers,madvay/flatbuffers,fuchsia-mirror/third_party-flatbuffers,jackyglony/flatbuffers,bog-dan-ro/flatbuffers,pjulien/flatbuffers,davidnasar/flatbuffers,RAldrich/flatbuffers,stewartmiles/flatbuffers,uus169/flatbuffers,evanw/flatbuffers,radent/flatbuffers,jasonstubbs/flatbuffers,fengshao0907/flatbuffers,marschall/flatbuffers,eburkitt/flatbuffers,davidnasar/flatbuffers,vitalyisaev2/flatbuffers,eproxus/flatbuffers,jasonstubbs/flatbuffers,jbrads/flatbuffers,Reimerei/flatbuffers,KeronTeam/flatbuffers,evolutional/flatbuffers,iperry/flatbuffers,splhack/flatbuffers,rw/flatbuffers,xiaPier/flatbuffers,hanhailong/flatbuffers,royalharsh/flatbuffers,Reimerei/flatbuffers,jekinchen/flatjni,hanhailong/flatbuffers,hanhailong/flatbuffers,MiCHiLU/flatbuffers,xiaPier/flatbuffers,hgl888/flatbuffers,kusharami/flatbuffers,jbrads/flatbuffers,alarouche/flatbuffers,xiaPier/flatbuffers,radent/flatbuffers,kadirahq/flatbuffers,wuyan6293/flatbuffers,stewartmiles/flatbuffers,royalharsh/flatbuffers,vitalyisaev2/flatbuffers,ajrulez/flatbuffers,vitalyisaev2/flatbuffers,vitalyisaev2/flatbuffers,evanw/flatbuffers,xudeheng/flatbuffers,pjulien/flatbuffers,1yvT0s/flatbuffers,RAldrich/flatbuffers,layzerar/flatbuffers,wingahi/flatbuffers,splhack/flatbuffers,iperry/flatbuffers,radent/flatbuffers,DreamHill/flatbuffers,benssson/flatbuffers,lulufei/flatbuffers,BlueBrain/flatbuffers,benssson/flatbuffers,chenkai036/flatbuffers,zarianw/flatbuffers,kadirahq/flatbuffers,royalharsh/flatbuffers,i17c/flatbuffers,hanhailong/flatbuffers,wuyan6293/flatbuffers,zarianw/flatbuffers,google/flatbuffers,davidnasar/flatbuffers,wheelcomplex/flatbuffers,lulufei/flatbuffers,ThomasBrixLarsen/flatbuffers