Fix RPNG save_image memleak.