pango: add missing Pango >= 1.18.0 check

pango_cairo_font_map_new_for_font_type() is available since Pango
1.18.0.

[ruby-gnome2-devel-en] Adding back check for CAIRO 1.8, in rbpangocairo.c

Reported by Grant Schoep. Thanks!!!