Don't stomp existing sizes inside wp_save_image().

Merges [23246] to the 3.5 branch.

props markoheijnen.
see #22985.