Replaced depreciated !png_check_sig

Replaced depreciated !png_check_sig(sig, n) with png_sig_cmp(sig, 0, n)