[joinlines] Use get_visual_column

get_visual_line_column doesn’t exist, how did this work before?
[joinlines] use is_end() instead of ord