BUG: BMPImageIO buffer size computation.
BUG: BMPImageIO buffer size computation.

Fix valgrind detected Invalid Pointer Write errors.  The use of
paddedStreamRead must come after is computed for all cases.

Co-authored-by: Bill Lorensen <bill.lorensen@gmail.com>

Change-Id: I003c4edbee03c8e15fd2c083c93cb8239dee67ef

malaterre/ITK,fedral/ITK,heimdali/ITK,fbudin69500/ITK,msmolens/ITK,atsnyder/ITK,fbudin69500/ITK,atsnyder/ITK,fedral/ITK,jcfr/ITK,msmolens/ITK,PlutoniumHeart/ITK,eile/ITK,InsightSoftwareConsortium/ITK,hjmjohnson/ITK,stnava/ITK,hendradarwin/ITK,biotrump/ITK,stnava/ITK,ajjl/ITK,PlutoniumHeart/ITK,heimdali/ITK,blowekamp/ITK,PlutoniumHeart/ITK,BRAINSia/ITK,atsnyder/ITK,spinicist/ITK,eile/ITK,BlueBrain/ITK,spinicist/ITK,fedral/ITK,vfonov/ITK,vfonov/ITK,atsnyder/ITK,richardbeare/ITK,blowekamp/ITK,fbudin69500/ITK,atsnyder/ITK,vfonov/ITK,thewtex/ITK,PlutoniumHeart/ITK,malaterre/ITK,fbudin69500/ITK,InsightSoftwareConsortium/ITK,atsnyder/ITK,jcfr/ITK,jmerkow/ITK,BRAINSia/ITK,BlueBrain/ITK,richardbeare/ITK,biotrump/ITK,jcfr/ITK,stnava/ITK,heimdali/ITK,ajjl/ITK,LucHermitte/ITK,biotrump/ITK,Kitware/ITK,hjmjohnson/ITK,spinicist/ITK,fedral/ITK,BRAINSia/ITK,hjmjohnson/ITK,zachary-williamson/ITK,LucHermitte/ITK,LucasGandel/ITK,msmolens/ITK,fedral/ITK,vfonov/ITK,eile/ITK,hendradarwin/ITK,LucHermitte/ITK,fbudin69500/ITK,ajjl/ITK,hendradarwin/ITK,BRAINSia/ITK,jmerkow/ITK,richardbeare/ITK,malaterre/ITK,BRAINSia/ITK,BlueBrain/ITK,eile/ITK,msmolens/ITK,eile/ITK,fedral/ITK,heimdali/ITK,vfonov/ITK,blowekamp/ITK,zachary-williamson/ITK,heimdali/ITK,richardbeare/ITK,LucHermitte/ITK,spinicist/ITK,spinicist/ITK,atsnyder/ITK,stnava/ITK,hjmjohnson/ITK,malaterre/ITK,blowekamp/ITK,fbudin69500/ITK,PlutoniumHeart/ITK,spinicist/ITK,InsightSoftwareConsortium/ITK,eile/ITK,malaterre/ITK,eile/ITK,LucasGandel/ITK,heimdali/ITK,biotrump/ITK,ajjl/ITK,jmerkow/ITK,richardbeare/ITK,jcfr/ITK,Kitware/ITK,LucHermitte/ITK,jmerkow/ITK,atsnyder/ITK,zachary-williamson/ITK,thewtex/ITK,vfonov/ITK,hendradarwin/ITK,hendradarwin/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,malaterre/ITK,msmolens/ITK,PlutoniumHeart/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,zachary-williamson/ITK,stnava/ITK,biotrump/ITK,InsightSoftwareConsortium/ITK,LucasGandel/ITK,stnava/ITK,hendradarwin/ITK,BlueBrain/ITK,malaterre/ITK,vfonov/ITK,PlutoniumHeart/ITK,jmerkow/ITK,thewtex/ITK,hendradarwin/ITK,jcfr/ITK,hjmjohnson/ITK,blowekamp/ITK,stnava/ITK,vfonov/ITK,eile/ITK,heimdali/ITK,hendradarwin/ITK,Kitware/ITK,biotrump/ITK,jcfr/ITK,blowekamp/ITK,jcfr/ITK,fbudin69500/ITK,Kitware/ITK,thewtex/ITK,thewtex/ITK,BRAINSia/ITK,LucasGandel/ITK,BlueBrain/ITK,PlutoniumHeart/ITK,LucHermitte/ITK,ajjl/ITK,ajjl/ITK,BlueBrain/ITK,spinicist/ITK,fedral/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,msmolens/ITK,msmolens/ITK,malaterre/ITK,LucasGandel/ITK,LucHermitte/ITK,zachary-williamson/ITK,heimdali/ITK,richardbeare/ITK,biotrump/ITK,richardbeare/ITK,fbudin69500/ITK,eile/ITK,LucasGandel/ITK,msmolens/ITK,zachary-williamson/ITK,stnava/ITK,zachary-williamson/ITK,LucasGandel/ITK,malaterre/ITK,jmerkow/ITK,vfonov/ITK,atsnyder/ITK,ajjl/ITK,LucasGandel/ITK,blowekamp/ITK,jmerkow/ITK,hjmjohnson/ITK,jmerkow/ITK,spinicist/ITK,blowekamp/ITK,jcfr/ITK,hjmjohnson/ITK,BRAINSia/ITK,biotrump/ITK,zachary-williamson/ITK,fedral/ITK,thewtex/ITK,stnava/ITK,BlueBrain/ITK,zachary-williamson/ITK,ajjl/ITK,thewtex/ITK,LucHermitte/ITK,BlueBrain/ITK,spinicist/ITK