The headgasket would fail for only a few reasons, and believe it or not, 500 hp on a good tune isn't one of them.
If you lean it out, and have partial detonation, you could deform it. But that isn't the gaskets fault. The other way is over heat it, and with dissimilar metals, it would peel...