devel/mercurial: fix hg built against python314
Reported by: Gunther Nikl
PR: 292050
MFH: 2025Q4
(2026Q1 has not yet been created)
Approved by: portmgr@ (just-fix-it blanket)
Obtained from: https://foss.heptapod.net/mercurial/mercurial-devel/-/commit/fb8373b37f6e9942f7def675c9051b7ac5e727b4