This fixes an oversight where the return value of png_get_tRNS was being ignored, potentially causing a segfault.
png_get_tRNS