Fix possible display issue.

* company.el(company--create-line-overlay,
  company-pseudo-tooltip-unhide-line): Don't assume next char is
  "\n" when (eolp), extract from the buffer.