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

cc: @Keno, @JeffBezanson, @ViralBShah