improve ability to use require from sysimg.jl
Merge pull request #5666 from JuliaLang/jn/sysimg_using

improve ability to use require from sysimg.jl