sws: revert: "swscale: Remove two bogus asserts"