Use a Pos constructor instead of repeating {line, ch} literals

This helps performance on v8 (in microbenchmarks) and is less noisy.

Regular literals are still accepted, the constructor is only used to create
objects, doesn't attach any methods.
[show-hint addon] Support PageUp/PageDown/Home/End keys when dialog is active