Fix off-by-one error in FastString.getFastStringTable (#8110)

The function was reading past the end of the FastString table, causing
the -dfaststring-stats option to behave unpredictably.