Fixes https://github.com/llvm/llvm-project/issues/54147.
When handling AllowShortFunctionsOnASingleLine, we were searching for the last line with a smaller level than the current line. The search was incorrect when the first line had the same level as the current one. This led to an unsatisfied assumption about the existence of a brace (non-comment token).
To be safe?