If pi^2 were _exactly_ g, and the "magic" disappeared in different units, THEN we could say "so this is no coincidence" and we could conclude that it has to be related to the units themselves.
But since pi^2 is only roughly equal to g, and the magic disappears in different units, I would likely attribute it to coincidence if I hadn't read the article.