PGF backend: Fix vertical positioning of multi-line text

Because text is drawn line-by-line, the anchor point of the text object
being drawn is not applicable to all lines.
When multi-line text is detected, apply the vertical alignment to the
anchor manually using the requested x and y positions.
This is based on the code in RendererSVG._draw_text_as_text.