swscale: Use function pointers for swScale functions.