Use :swallow_stderr instead of not thread safe silence_stream(STDERR)

This should fix the thread safety issues reported at https://github.com/jruby/jruby/issues/965.