mail/py-offlineimap3: Fix build with python-3.11
PR: 276067 Reported by: wen@ Approved by: maintainer