gensio: fix build of Python binding (refs #20604)