Resizes this buffer to newSize. The buffer is left untouched if allocation fails.
if newSize is not positive.
if SQLite is currently borrowing this buffer, for example as a bound statement parameter.
if there is not enough memory available.