fix tty_rows in showing sparse matrices
ref #4198
Merge branch 'master' of github.com:JuliaLang/julia