Add a new, private gtk_image_get_image_size to replace it, and update the remaining callers in a suitable way.