devel/mercurial: fix build
Fixes: 84c3fe3a93fdc9b9207ea4b58ce39479b6dbc740 Reported by: dim PR: 286908