String.Buffer: Improved robustness in add(). The argument checking in add() was broken for the case where the buffer wasn't empty. Note that the similar code in addat() is correct.