fix vips_image_write() for non "p" sources

oops!