Make PowhegControl configuration Python 3.11 compatible.
PowhegControl
Needed for !72568 (merged).
/cc @ewelina @asaibel @averbyts @elmsheus