pango: use version check instead of function availability check

Because we can remove the ifdef easily after we increase required
Pango version. Less ifdef is better because ifdef reduces
maintainability.