fix #5457

if the type of the rvalue in pointerset is not known, emit a typecheck
instead of an unconditional error.
Merge branch 'master' of github.com:JuliaLang/julia