If the gasket strips are still there but have come loose and are just "hanging on" (exactly the same as on my '84 9.8, same symptom as you), then save yourself a step in guessing what kind of adhesive to use...
I tried silicone (after very carefully scraping and cleaning everything with solvent), and it lasted exactly 1 week before everything was loose again. It didn't stick to the rubber well.
So I recleaned everything and used PL Premium (construction adhesive). 2 years later the strips are still glued on solid as a rock.
Cheers
TRJB