For future GFX channel functions an image scaling function is required. This moves the implementation from wayland client to core library and adds support for the much faster SWScale library.