Deprecate pointer(Type{T},x) and update a few uses in Base. Fixes #2911.
Merge pull request #7389 from JuliaLang/jq/pointer

Deprecate pointer(Type{T},x) and update a few uses in Base. Fixes #2911.