in unsafe_ref, special case Any to fix #2458
Merge branch 'master' of github.com:JuliaLang/julia