Those stringers look fine! Even if the wood completely rotted out the shell of the glass around the wood is plenty strong enough to support the deck and the hull. So just replace the section of wood your going to lag bolts into.
This is how oceanmaster and the old seacraft stringers are built.
as long as the glass hasn't delaminated from the hull you don't need to worry.