[clangd] Handle an expanded token range that ends in the `eof` token in TokenBuffer::spelledForExpanded() (#78092)

Such ranges can legitimately arise in the case of invalid code, such as
a declaration missing an ending brace.

Fixes https://github.com/clangd/clangd/issues/1559

GitOrigin-RevId: 9d1dada57741d204f8a95aa2b0c89a7242e101f1
1 file changed