What a lot of folks do is install baffles into the sump, basically a bubble trap. You can buy 1/4" acrylic at a hardware store, cut it to fit in the sump, and then silicone it in place. This has a number of other benefits too, and you can see an example of some baffles in the sump I built in the build thread in my signature.
Another option is to put some sort of
filter sock over the end of the pipe to try and catch the bubbles, but I dont know how effect that is, and you'd want to clean it pretty often.