I think the initial idea for that benchmark is to compare languages using the most simple and straightforward implementation, with no special tricks, using the C source as reference. And using different compilers, if avalaible.
But you are right, for Go, Haskell, and others, there are multiple source version.
I have open an issue, asking to update the Freepascal original source. Or add a second version.
Your suggestions are very useful, the new source is more than 3 times faster.
Sadly remains the fact that DivMod and Mod are not very optimized. Here others compilers do a better work.