Add implementation of pango_layout_get_baseline function.