pango: use version check instead of function availability check