Add a maximum recusion depth to _guess_expression_type
When a recursive declaration ends up in a GDScript file the _guess_expression_type function would start looping and eventually run out of stack space.
We now cap recusion for this function to 100 frames.
This fixes #25598 (closed)