Mimic MRI's openssl when jopenssl require fails. #2894
Some libraries (such as RubyGems ) rescues openssl load errors and
Some libraries (such as RubyGems) rescues openssl load errors and adjusts their behavior depending if the openssl is properly required. However, prior this commit, require 'openssl' succeeded just fine, but the subsequent requires failed, which makes RubyGems (and similar) to fail unexpectedly.