vips_pngload_buffer() works

fix a bug in vips_jpegload_buffer() too