glpng: Fix CVE-2010-1519, update to v1.46. By James Le Cuirot.