Cleanup scale2x.c