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