main/mercurial: upgrade to 5.4

Also enable check() to run approximately 730 of the 919 tests on all
arches apart from armv7. On armv7 in CI around 400 more tests time out,
so this commit does not not enable the test suite.
7 jobs for !7684 with mercurial in 21 seconds
merge request