Revert "Backport new functions from upstream."

This reverts commit 9396657009c051bedb91932b22572c91ebc86ab4.
Use the helper functions from GStreamerVersioning instead of Utilities.