Don't parse blocks that are nested thousands of levels deep, e.g., https://github.com/llvm/llvm-project/blob/a7b154aa1770a2223be2e99735fab54c1c081007/clang/test/Parser/parser_overflow.c#L11.
Adds an upper bound to the number of levels of nested blocks to provide a safeguard.