Get Image -> Resize working with layers

Another key step on the path to "full layers support".  As part of
revisiting this function, I also removed the old custom resampling code
(which worked well, but was enormous) in favor of leaning on GDI+ if
FreeImage can't be located.