As far as I can tell, the most recent experiment to measure the mass of the Earth
by 1790, when they decided on the definition of the meter, was the 1772 Schiehallion experiment, which gave a value 20% below the actual value. So if pi^2 were to somehow fall out of that it would likely be so far off as to be unrecognizable.
But even that doesn’t matter, because the mass of the Earth didn’t play a direct role in the definition of the meter. If you take out the whole thing about the meter’s definition targeting half a toise, then all you have is “related to the circumference of the Earth”, and it would be a monumental coincidence if the mass of the earth and gravitational constant just conspired to somehow drop an unadulterated pi^2 out of the math.