Use png_sig_cmp to allow linking with libpng 1.4.0.