Other than a new head gasket? If you have to remove the head to use some sort of sealer anyway why not use a new gasket? What engine are we talking about here?
I have not been in your situation, but I've had good luck with Permatex products for most of my gasket sealant needs over the years: You searched for head gasket - Permatex
A head gasket leak that is leaking combustion gasses has to be fixed immediately.
I once was slow fixing a leak on a Yanmar diesel and it ate into the cast iron head.
It was an expensive lesson for a new (at the time) boater.