dependencies.rb: keep the decorated #load and #require private [closes #17553]