(SoftFilter) cleanup scale2x.c