clang-format: Fix incorrect calculation of token lenghts.

This led, e.g. to break JavaScript regex literals too early.