Two things. First, I think both of your options are horrible, and specifically selected to be offensive. I'm not aware of any aid organization that makes kids do porn instead of be raped. You can keep that link to yourself.
Second, a kid having to work in a factory is way way better than having to be a slave. Keep in mind, these kids would be working back on the farm with their family, but their family can't afford to feed them, so they send them off. Their families are usually lied to about what their kids are going to do. My western sensibilities find this awful.
So i'm a bit curious at this point. It seems you're advocating, since the kids can't have a perfect life, they might as well be raped?
I can say much the same about your options. Granted, child slavery is worse than child labor. However child labor is still not acceptable. And if a company like, say, Nike was to use that as an excuse for having their shoes made by child labor, I'd find that unacceptable.
...and specifically selected to be offensive.
Of course. That was the point. Your argument is of the form, "We should accept A because if we don't then some people will suffer B, which is much worse." I just substituted a different pair of A and B with a relationship that is just as clear as the relationship between the things that you were describing.
The logical form of the argument is unchanged. Yet your immediate response is that both are unacceptable.
Sometimes, child labor is the alternative to human trafficking.