python-yaml: fix build with Cython 3