You can take a piece of soldering tin and bend it and stick it through the plug hole to get a rough measurement of the squish. If the solder is not pinched you can 'double twist' it to get a reading. This should give you an idea if it's the cause. A good value should be 1mm or slightly less IMO. You can find different thickness base gaskets in some places, like here: https://www.motorsportgoetz.com/Cylinder-Base-Gasket-03mm-Yamaha-DT-TDR-TZR-125