Currently, to add xgcd functionality for a new polynomial ring, one needs to add a specialized subclass of PolynomialElement.
The attached patch allows rings to provide a _xgcd_univariate_polynomial method which will be called by PolynomialElement to compute xgcds.
This is similar to #10635, #13442.
Depends on #13628
Depends on #18461
Depends on #18467
CC: @sagetrac-boerner
Component: basic arithmetic
Keywords: sd59
Author: Julian Rueth
Branch/Commit: 828b5fc
Reviewer: Peter Bruin, Bruno Grenet
Issue created by migration from https://trac.sagemath.org/ticket/13629