Fix rendering of arrays in ToStringHelper.renderArray

StringBuilder or StringBuffer doesn't have constructor for char. See below

Reports any new StringBuffer() and new StringBuilder() calls with an argument with type char. Such an argument is silently casted to an integer used to specify the length of the buffer. Usually this is not what was intended.