am bea4e6d9: Restore a width check that was removed from png.c (CVE-2015-0973)

* commit 'bea4e6d976903cb7f768d1835c297d1af9700eac':
  Restore a width check that was removed from png.c (CVE-2015-0973)