Resize saved cursor position on buffer resize
Resize saved cursor position on buffer resize

Saved cursor coordinates were not being resized as well which could
lead to crashes when resizing down while the alt buffer is active.

Fixes #1151

xtermjs/xterm.js,akalipetis/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,akalipetis/xterm.js,xtermjs/xterm.js,akalipetis/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js,akalipetis/xterm.js,Tyriar/xterm.js,sourcelair/xterm.js,Tyriar/xterm.js,Tyriar/xterm.js,xtermjs/xterm.js,sourcelair/xterm.js