test: try to fix flakiness in amphtml util (#78304)
This PR modifies the AMP HTML testing util to avoid loading the
validator from the network, which causes random test flakiness. I've
also made it use the validator from `next/dist/compiled` to match what
we do during builds. This means we can drop `amphtml-validator` from the
root package.json.